Question

It keeps failing on this kind of message (just replace tm with clock, difftime, mktime, time, asctime, ctime, gmtime, localtime, strftime :

no member named 'tm' in global namespace

I'm linking to an external project (Oolong Engine2) built with a makefile in Xcode 4.2 Does anyone recognize what solutions to this problem may be? I googled a bit and saw that others had the same problem, but saw no solutions.

Was it helpful?

Solution

The answer was something stupid where headers were being included twice.

OTHER TIPS

The issue occurs if headers are included multiple times.

Check if headers are recursive, if yes, make it non-recursive.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top