Вопрос

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.

Это было полезно?

Решение

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

Другие советы

The issue occurs if headers are included multiple times.

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top