<div dir="ltr">I don&#39;t know if this will help, but I had exactly the same problem when installing XCode 3.1.<br>I had to hack around with something like this:<br><br><span style="font-family: courier new,monospace;">#if defined(__APPLE__)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/* the following hack is needed in order to build with XCode 3.1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;* don&#39;t ask me why, but it seems that there were changes in the</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;* GCC compiler that require this</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;*/</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#ifndef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ MAC_OS_X_VERSION_10_4</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#endif</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#import &lt;Carbon/Carbon.h&gt;</span><br style="font-family: courier new,monospace;">
<br>for the record, this was only needed because I&#39;m building this program with a pre-compiled version of GCC (don&#39;t ask).<br>If I use the gcc binary provided with the new SDK, the error disappeared. However, for various technical reasons, I<br>
cannot use it, hence the hack.<br><br>I don&#39;t know if this is exactly the same problem you&#39;re facing, just hope it will save your several hours of wonder/debugging<br><br>- David<br><br><div class="gmail_quote">2008/9/29 Augusto Radtke <span dir="ltr">&lt;<a href="mailto:radtke@radtke.com.br">radtke@radtke.com.br</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Has anyone any experience on compiling cairo on Mac OS X with the<br>
Intel icc compiler? I&#39;m facing a lot of errors with CoreFoundation, I<br>
believe it&#39;s not cairo problems at all but if anyone had this problem<br>
before would be helpful.<br>
<br>
Things like that:<br>
<br>
/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h(53):<br>
error: expected a &quot;;&quot;<br>
 &nbsp;CFN_EXPORT const CFStringRef kCFErrorDomainCFNetwork<br>
 &nbsp; &nbsp;__OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_1_2);<br>
<br>
Augusto<br>
_______________________________________________<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
</blockquote></div><br></div>