Won't compile or won't link?
pseudorandom21
Practically a Posting Shark
890 posts since Jan 2011
Reputation Points: 216
Solved Threads: 110
Skill Endorsements: 0
I can think of 2 possible issues here:
- Unguarded headers causing multi-include errors
- Circular definition errors that can't be resolved because of how your code is currently written.
You'll have to describe the problem better and post the relevant code.
Fbody
Posting Maven
2,929 posts since Oct 2009
Reputation Points: 833
Solved Threads: 394
Skill Endorsements: 5
a struct prototype/forward declaration may solve your woes, or a different design that avoids circular dependencies.
struct a;
pseudorandom21
Practically a Posting Shark
890 posts since Jan 2011
Reputation Points: 216
Solved Threads: 110
Skill Endorsements: 0
All these random generic hints at your problem aren't helping us help you with it. Please be specific and provide details. The appropriate details include:
- The actual error codes being returned by the compiler/linker
- The actual code relevant to the issue
- A description of the intent of your code
Fbody
Posting Maven
2,929 posts since Oct 2009
Reputation Points: 833
Solved Threads: 394
Skill Endorsements: 5