Xcode compile errors after installing Boost

Aaron MacDonald ajmacd at ns.sympatico.ca
Mon Nov 3 12:11:53 PST 2008


I have an Xcode project that now throws errors after I've installed  
Boost through MacPorts. The project itself doesn't use Boost, but the  
error appeared only after I put Boost on my machine and I've seen it  
mentioned in other places.

This is the error I get:

    /usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h:72:  
error: 'snprintf' is not a member of 'std'

This is the command I used to install Boost:

    sudo port install boost +python25 +icu +graphml +docs

I am using an Intel Mac with OS X 10.5.

Thank you,

Aaron


More information about the macports-users mailing list