Daryle,

I don't work for Metrowerks but I will give it a try.

I'm using CWP 6.2.  __MSL__ is only defined by including headers from MSL's C library.  The MSL C++ defines __MSL_CPP__ in mslconfig which is included by utility.  I don't have CWP 5 to check and see if this is defined for CWP 5 as well.

I've cc'd Howard Hinnant, who does work for Metrowerks and is the current author of MSL's C++ library.  He may be able to give you a better answer.

Chris

> -----Original Message-----
> From: Daryle Walker [mailto:darylew@mac.com]
> Sent: Thursday, July 26, 2001 2:28 PM
> To: boost@yahoogroups.com
> Subject: [boost] Re: Problem with config_05.zip
>
>
> on 7/26/01 6:51 AM, John Maddock at John_Maddock@compuserve.com wrote:
>
> [SNIP]
> > So the question is:  is including <utility> sufficient to
> result in __MSL__
> > getting defined?  It looks not.  BTW I choose <utility>
> here because it's
> > by far the most lightweight of the standard lib headers. 
> The other errors
> > that you're seeing are all resulting from that
> mis-detection.  Any ideas
> > what I need to include to locate __MSL__ if it's defined?
>
> Is there anyone on this list that is a Metrowerks engineer
> that can answer
> this question?  (Remember, I'm using CodeWarrior Pro 5, so a CWP6-only
> solution won't work for me.)  It should be a header that other
> implementations would have too, so John won't have to add a
> lot of #ifdefs
> and #includes.
>
> --
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com