<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div>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.</div><div>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 …)</div><div><br></div><div>Here is the full output of the ITK build :</div><div><a href="https://gist.github.com/iMichka/7053648/raw/5bd0289f19703d451f6c656a1d7e76cd9c936656/gistfile1.txt">https://gist.github.com/iMichka/7053648/raw/5bd0289f19703d451f6c656a1d7e76cd9c936656/gistfile1.txt</a></div><div><br></div><div>Starting at 14% we get the following errors :</div><div><pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap; ">[ 14%] Generating vcl_complex.xml</pre><pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap; ">In file included from /usr/include/c++/4.2.1/cstddef:51,
                 from /usr/include/c++/4.2.1/cstring:51,
                 from /usr/include/c++/4.2.1/bits/char_traits.h:45,
                 from /usr/include/c++/4.2.1/string:47,
                 from /tmp/insighttoolkit-nNsV/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
                 from /tmp/insighttoolkit-nNsV/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
                 from /tmp/insighttoolkit-nNsV/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
                 from /tmp/insighttoolkit-nNsV/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
                 from /tmp/insighttoolkit-nNsV/InsightToolkit-4.4.2/itk-build/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
/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 "("</pre><div>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 ?</div></div><div><br></div><div>1) <span style="color: rgb(0, 0, 0); font-family: verdana, tahoma, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; ">Would have to install another gcc 4.2 (non-apple ?).</span></div><div><br></div><div>1) I would like to know what is the status of the changes in this PR <a href="https://github.com/gccxml/gccxml/pull/3">https://github.com/gccxml/gccxml/pull/3</a> ? 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 ?</div><div><span style="color: rgb(0, 0, 0); font-family: verdana, tahoma, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: verdana, tahoma, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">Sorry if my questions seem naive, it's not easy to understand how all this stuff works, and it's quite confusing for me.</span></div><div><span style="color: rgb(0, 0, 0); font-family: verdana, tahoma, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: verdana, tahoma, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">Thanks in advance for your help.</span></div><div style="text-align: -webkit-left;"><font class="Apple-style-span" face="verdana, tahoma, sans-serif"><br></font></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Michka Popoff<br>Ph.D. Student</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br>IEMN (CNRS UMR 8520) Dpt ISEN<br>Avenue Poincaré - BP 60069<div>59652 Villeneuve d'Ascq Cedex<br><br>CMIP (CNRS UMR 8204 - INSERM U1019)<br>1, rue du Professeur Calmette</div><div>59019 Lille Cedex </div></div></div></span></div></span></div></span></div></span></span>
</div>
<br></body></html>