On Thursday, March 6, 2003, at 03:33 AM, Daryle Walker wrote:

I can't even get that to run. I get the error:

//=================================================================
Error : undefined identifier 'ptrdiff_t'
(included from:
config.hpp:57
config_info.cpp:10)
suffix.hpp line 245 namespace std { using ::ptrdiff_t; using ::size_t; }


//=================================================================

with the last "ptrdiff_t" highlighted as the problem.

I've attached the project I used, so maybe some Metrowerks expert can find the "obvious" thing I forgot (or maybe it's actually a misconfiguration, or [worse] a bug).

I'm a Metrowerks expert, but not a boost expert. Your project is set up to use MSL C which correctly puts ptrdiff_t into namespace std. The above code can't find ::ptrdiff_t because <cstddef> only defined std::ptrdiff_t.


It looks to me like BOOST_NO_STDC_NAMESPACE is being mistakenly defined somewhere.

-Howard

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to