LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   diffs between gcc-3.3 and gcc-3.4 (https://www.linuxquestions.org/questions/programming-9/diffs-between-gcc-3-3-and-gcc-3-4-a-290842/)

dand 02-16-2005 03:45 AM

diffs between gcc-3.3 and gcc-3.4
 
Has anyone had problems upgrading to gcc-3.4?

I have found loads of template errors which I have resolved.

I am finding problems with circular dependancies where for example:

a.h needs a defintion from b.h and b.h needs a definition from a.h

They are in conflict to find out what is defined in the other first!

Has anyone experienced this?

Cheers, Dan.

andvin 04-19-2005 04:59 AM

Why do the files depend on each other? Can you do a forward declaration to solve it, or else you might consider mergeing the two headers into one. I suppose you have correct include protection in place (#ifndef FILE_A_H_INC #define FILE_A_H_INC etc...)


All times are GMT -5. The time now is 12:38 PM.