• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using boost 1.35.0 on Mac OS X with Xcode 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using boost 1.35.0 on Mac OS X with Xcode 3


  • Subject: Using boost 1.35.0 on Mac OS X with Xcode 3
  • From: Phil Hystad <email@hidden>
  • Date: Mon, 09 Jun 2008 12:36:34 -0700

I am rebuilding a library that was last compiled a year ago using an earlier version of boost and an earlier version of Xcode (2.4) and an earlier version of Mac OS X (10.4).

I downloaded boost_1_35_0 distro for my Mac and built it using the standard configuration and build procedures.  That seemed to go OK.  I am compiling C++ source code that formerly compiled, without errors or warnings, but now reports the following errors in many files:

"error: 'snprintf' is not a member of 'std'"

And, the offending line is the following from the c++locale.h file (the error is reported on the line referencing snprintf):

#ifdef _GLIBCXX_USE_C99
      const int __ret = std::snprintf(__out, __size, __fmt, __prec, __v);
#else
      const int __ret = std::sprintf(__out, __fmt, __prec, __v);
#endif

Does anyone know the source of this problem.  There is absolutely no changes in my source that is being compiled.

I am dual posting this on both the boost-users and the Mac Xcode lists because I am not sure which is the more appropriate forum.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
  • Next by Date: Re: Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
  • Previous by thread: Re: Objective-C: search project for text skips include'ed header file
  • Next by thread: Shark question
  • Index(es):
    • Date
    • Thread