Re: Problem with Objective-C++ Header Files
Diederik Hoogenboom <mailings-B7KF2NMjUWCmGl0/t5+hDwC/[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
> > If I include the header files from my C++ library, I get a swath of errors, > namely surrounding the use of 'id' in the subsequent included C++ header > files. I also get some more serious errors in the incompatibility between > X.h (from XFree86) and objc.h over the use of 'BOOL' and 'cursors'. I have had similar problems with compiling Obj-C++ under 10.6. I am not sure if it was caused by switching to CLANG/LLVM or GCC 4.2 but at one point I renamed the .h file (in which I included the C++ header files) to .hpp and the errors went away. Diederik -- Diederik Hoogenboom Twitter: obviousmatter Obvious Matter http://www.obviousmatter.com