[GCC-XML] Clang support status ?
michkapopoff at gmail.com
Tue Oct 22 05:37:48 EDT 2013
we discussed some time ago problems with gccxml and ITK on this mailing list. I am still working on the ITK integration in homebrew's packet manager for OS X.
Now that ITK 4.4.2 uses one of the last gccxml's and compiles it correctly, we were able to install ITK with python wrapping on OS X 10.8.5 but not on 10.7.5 (on 10.8.5 it does not always work, depending which compiler is chosen …)
Here is the full output of the ITK build :
Starting at 14% we get the following errors :
[ 14%] Generating vcl_complex.xml
In file included from /usr/include/c++/4.2.1/cstddef:51,
/usr/bin/../lib/clang/5.0/include/stddef.h:29:42: error: missing binary operator before token "("
/usr/bin/../lib/clang/5.0/include/stddef.h:37:39: error: missing binary operator before token "("
/usr/bin/../lib/clang/5.0/include/stddef.h:48:42: error: missing binary operator before token "("
So, as Brad King explained before, gccxml will compile with clang but will not be "usable" with clang . What is strange is that it works on OS X 10.8.5 with "i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)", but not on OS X 10.7.5 (which has exactly the same llvm-gcc version …). I could not really understand which c++ compiler is compatible with gccxml ?
1) Would have to install another gcc 4.2 (non-apple ?).
1) I would like to know what is the status of the changes in this PR https://github.com/gccxml/gccxml/pull/3 ? In a few days Apple will be releasing OS X 10.9, moving completely to Clang. I will have 3 different computers on the 3 OSes : 10.9, 10.8.5 and 10.7.5. I am ready to do some testing and to put some effort to fix this, but my knowledge in compilation errors is quite limited, so it would take me some (a lot) of time ?
Sorry if my questions seem naive, it's not easy to understand how all this stuff works, and it's quite confusing for me.
Thanks in advance for your help.
IEMN (CNRS UMR 8520) Dpt ISEN
Avenue Poincaré - BP 60069
59652 Villeneuve d'Ascq Cedex
CMIP (CNRS UMR 8204 - INSERM U1019)
1, rue du Professeur Calmette
59019 Lille Cedex
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gccxml