Xcode compile errors after installing Boost

Derek Harland derek at chocolate-fish.com
Mon Nov 3 12:17:39 PST 2008


Google is your friend ... have you tried the suggestion in the first  
hit for "'snprintf' is not a member of 'std'"

	http://www.nabble.com/Mac-Xcode-3.0-Boost-compile-issue-td15660509.html

derek.

On 4/11/2008, at 9:11 AM, Aaron MacDonald wrote:

> 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
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081104/1917586d/attachment.html>


More information about the macports-users mailing list