Hi again, Sorry for multiple posts... ok if I DONT include GL/glut.h in my class it expands the PRIi64 macro fine. the problem is I need to include that header file for some of my code!
Please if anyone could help It would be great, I feel a little over my head in this already.... Andrew Andrew Dunk wrote: > Hi again, > > No I lie, it still has not fixed the issue... > I am very confused with this, I have checked other files and it has > expanded the macro properly. > I am using the same make call for both files yet it does not expand the > macro in the other. > > If anyone has more ideas please shout... > > Thanks > Andrew > > Andrew Dunk wrote: > >> Hi, >> I have finally found the error with the macro not being expanded... >> I traced it back through my code to a point where the GL/glut.h include file >> as being included twice. I dont quite know what the glut.h file was >> doing to stop the macro from expanding, but its fixed now. >> >> Thanks a lot for you time. >> >> Andrew >> >> >> Gerrit Voß wrote: >> >> >>> Hi, >>> >>> On Mon, 2010-06-21 at 10:57 +0100, Andrew Dunk wrote: >>> >>> >>> >>>> I have greped for __STDC_FORMAT_MACROS through all out source with no >>>> results, so can safely say its not being manipulated at all. I also >>>> looked through the latest build of the ode library as I already >>>> encountered a small problem with the latest version of that. Still >>>> nothing... >>>> >>>> Erm there is defiantly one other file that will not compile for the >>>> same error, but I have not gone through each of the files and checked >>>> so I dont know how many more.... >>>> >>>> I have attached the file, and below is the whole cmd line output.... >>>> >>>> >>>> >>> hmm fascinating, I'm currently a little lost. I tried to include >>> OSGNode.h (which seems the primary include file) but this works for >>> me. My normal guess would be that in this particular case a wrong >>> OSGConfig.h is picked up somehow. Could compile the file with -E instead >>> of -c and check which OSGConfig.h is pulled in. >>> >>> kind regards >>> gerrit >>> >>> >>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Opensg-users mailing list >> Opensg-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/opensg-users >> >> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Opensg-users mailing list > Opensg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users