Xcode 3 compile issue

Hi everyone, I'm attempting to build a project that links against the Boost library, but I keep running into this error: /Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/i686-apple- darwin9/bits/c++locale.h:72: error: 'snprintf' is not a member of 'std' This has come up before on this list ( http://lists.boost.org/boost-users/2008/02/34157.php ), but it doesn't seem like there was an answer. How can I get rid of this? My project requires boost.... Specs: Mac OS X 10.5, Xcode 3.0, CoreDuo chipset Thanks! Dave DeLong

Hi,I replied to another thread with the same problem.
To fix my problem, I had to uncheck the "recursive" checkbox button in the
"Header Search Paths" section of the "Debug" target project settings for the
boost header path. Once I unchecked the "recursive" checkbox, I was able to
compile my target.
I hope this helps you.
--
-Jaime
http://www.jaimerios.com
On Sat, Mar 8, 2008 at 3:24 PM, Dave DeLong
Hi everyone, I'm attempting to build a project that links against the Boost library, but I keep running into this error:
*/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h:72: error: 'snprintf' is not a member of 'std'* * * This has come up before on this list ( http://lists.boost.org/boost-users/2008/02/34157.php ), but it doesn't seem like there was an answer. How can I get rid of this? My project requires boost....
Specs: Mac OS X 10.5, Xcode 3.0, CoreDuo chipset
Thanks!
Dave DeLong
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Dave DeLong
-
Jaime Rios