<p dir="ltr"><br>
On Dec 20, 2013 5:51 AM, &quot;Ian Hinder&quot; &lt;<a href="mailto:ian.hinder@aei.mpg.de">ian.hinder@aei.mpg.de</a>&gt; wrote:<br>
&gt; On 20 Dec 2013, at 07:58, Scott Hawley &lt;<a href="mailto:scott.hawley@belmont.edu">scott.hawley@belmont.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Aha!  That&#39;s the missing piece.   <br>
&gt;&gt;<br>
&gt;&gt; Also, FWIW, apparently in Apple&#39;s latest OS &quot;Mavericks&quot;, cpp does not support macro concatenation via ## like the true GNU compilers do. (I tested this; I copied and pasted example source from the GNU manual.) Furthermore it ignores the &quot;--traditional&quot; flag, i.e. generates no warning or error if you supply the flag, but it has no effect on the behavior.<br>

&gt;&gt;<br>
&gt;&gt; So!  Problem solved.  The fix is to  specify FPP= in the options file with the --traditional flag, using a true GNU compiler such as from MacPorts.    No modifications to cctk_Types.h is necessary.<br>
&gt;&gt;<br>
&gt;&gt; Thanks Roland!   <br>
&gt;<br>
&gt;<br>
&gt; Hi Scott,<br>
&gt;<br>
&gt; We usually find that the apple compilers are not suitable for compiling the ET; we support using MacPorts using the simfactory optionlists, as this provides a single way to install all the required compilers and components.  It&#39;s possible that we could make the apple compilers work, but there are other projects which have a higher priority.</p>

<p dir="ltr">One possible explanation for the issue with the Apple compiler is that at some point relatively recently they switched from GCC to llvm as the compiler bundled with xcode. So it&#39;s possible that it&#39;s an issue with the version of llvm rather than purely an Apple issue.</p>

<p dir="ltr">There are also other reasons for supporting MacPorts GCC instead of the Apple compiler. Probably the biggest one is that the Apple compiler doesn&#39;t support Fortran, so as soon as you encounter a thorn which uses Fortran code your build would fail.</p>

<p dir="ltr">Barry</p>