I'm not sure if this is a bug or just something that needs to be implemented,
but trying to parse code that uses Cocoa / Carbon framework headers fails with
some really weird errors. For example:
#include <CoreFoundation/CoreFoundation.h>
int main(int argc, const char *argv[])
{
return 0;
}
$ gccxml -F/System/Library/Frameworks/ gccxml_test.cpp
In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43,
from gccxml_test.cpp:1:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:147:
error: format string argument not a string type
I don't know what Apple's gcc has different, but I've run into quite a few
people who have had this issue, not necessarily with gccxml but with non-apple
gcc compilers in general. Has anyone here run into this and come up with a
solution other than patching the code I'm parsing to not require these files?
Jason
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml