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"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></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>
> So if I remove /opt/local/bin from my path, but use /opt/local/bin/cmake<br>
> (Macports) to build, it will work.<br>
><br>
> The compiler found is /usr/bin/gcc when /opt/local/bin/ is not in my<br>
> path. In our group we typically symlink /opt/local/bin to gcc-mp-4.3,<br>
> which may be causing the conflict. I do know that, at least in the<br>
> past, that cmake will use /usr/bin/c++ instead of /opt/local/bin/g++.<br>
><br>
> Attached is the file you requested. My only guess is that either the<br>
> compiler or other Macports tool is problematic.<br>
<br>
</div>The FundamentalTypes.h ends up with this:<br>
<br>
> /* The size of fundamental types. Types that do not exist have size 0. */<br>
> #define cmsys_SIZEOF_CHAR 1<br>
> #define cmsys_SIZEOF_SHORT __SIZEOF_SHORT__<br>
> #define cmsys_SIZEOF_INT __SIZEOF_INT__<br>
> #define cmsys_SIZEOF_LONG __SIZEOF_LONG__<br>
> #define cmsys_SIZEOF_LONG_LONG __SIZEOF_LONG_LONG__<br>
> #define cmsys_SIZEOF___INT64 0<br>
[snip]<br>
> #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>