Files attached<br><br>Thanks,<br><br>Juan<br><br><div class="gmail_quote">On Thu, Jun 24, 2010 at 2:56 PM, Brad King <span dir="ltr">&lt;<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">j s wrote:<br>
&gt; So if I remove /opt/local/bin from my path, but use /opt/local/bin/cmake<br>
&gt; (Macports) to build, it will work.<br>
&gt;<br>
&gt; The compiler found is /usr/bin/gcc when /opt/local/bin/ is not in my<br>
&gt; path.  In our group we typically symlink /opt/local/bin to gcc-mp-4.3,<br>
&gt; which may be causing the conflict.  I do know that, at least in the<br>
&gt; past, that cmake will use /usr/bin/c++ instead of /opt/local/bin/g++.<br>
&gt;<br>
&gt; Attached is the file you requested.  My only guess is that either the<br>
&gt; compiler or other Macports tool is problematic.<br>
<br>
</div>The FundamentalTypes.h ends up with this:<br>
<br>
&gt; /* The size of fundamental types.  Types that do not exist have size 0.  */<br>
&gt; #define cmsys_SIZEOF_CHAR 1<br>
&gt; #define cmsys_SIZEOF_SHORT __SIZEOF_SHORT__<br>
&gt; #define cmsys_SIZEOF_INT __SIZEOF_INT__<br>
&gt; #define cmsys_SIZEOF_LONG __SIZEOF_LONG__<br>
&gt; #define cmsys_SIZEOF_LONG_LONG __SIZEOF_LONG_LONG__<br>
&gt; #define cmsys_SIZEOF___INT64 0<br>
[snip]<br>
&gt; #if cmsys_SIZEOF_INT == 4<br>
<br>
but the #if fails.  Somehow the compiler used to detect the<br>
availability of macros like __SIZEOF_INT__ and the compiler<br>
used to actually compile later are behaving differently.<br>
<br>