Jump to content

Duplicate Global Var:cmcon1


Recommended Posts

Compiled each object correctly using BoostC 6.84 including the system.h file. I go a linker error: Duplicate global var:cmcon1. Saw that this was fixed in 2004. I applied the static keyword to the cmcon1 in the PIC16f684.h file and linking error went away. BTW, i'm not even using cmcon1.

Link to post
Share on other sites

gt1485a,

 

Compiled each object correctly using BoostC 6.84 including the system.h file. I go a linker error: Duplicate global var:cmcon1. Saw that this was fixed in 2004. I applied the static keyword to the cmcon1 in the PIC16f684.h file and linking error went away. BTW, i'm not even using cmcon1.
Please provide a sample program or describe with more detail how to reproduce this problem.

 

Regards

Dave

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...