<div dir="ltr">I don'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;"> * don'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;"> * GCC compiler that require this</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> */</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 <Carbon/Carbon.h></span><br style="font-family: courier new,monospace;">
<br>for the record, this was only needed because I'm building this program with a pre-compiled version of GCC (don'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't know if this is exactly the same problem you'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"><<a href="mailto:radtke@radtke.com.br">radtke@radtke.com.br</a>></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'm facing a lot of errors with CoreFoundation, I<br>
believe it'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 ";"<br>
CFN_EXPORT const CFStringRef kCFErrorDomainCFNetwork<br>
__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>