Plauger -> MSL library changes

Plauger -> MSL library changes

Post by Stu Schaffn » Thu, 23 Jan 1997 04:00:00



We have a quantity of code that has been developed using the old STL
package with the old Metrowerks C++ standard library.  One of us tried
the new MSL on CW11 and discovered many incompatibilities. It looks
like there have been many changes since Plauger put out his book in 1995.
Not just allocators, but also traits and the disappearance or renaming
of ostrstream.  I gather than MSVC++ has also switched to this new form.

Are there any books available yet, other than Metrowerks' 600-page
softcopy reference?  Is this available in hardcopy from Metrowerks?
I checked www.amazon.com and didn't see a new edition of Plauger.

 
 
 

Plauger -> MSL library changes

Post by MW R » Thu, 23 Jan 1997 04:00:00




>We have a quantity of code that has been developed using the old STL
>package with the old Metrowerks C++ standard library.  One of us tried
>the new MSL on CW11 and discovered many incompatibilities. It looks
>like there have been many changes since Plauger put out his book in 1995.
>Not just allocators, but also traits and the disappearance or renaming
>of ostrstream.  I gather than MSVC++ has also switched to this new form.

The old Plum-Hall (Plauger) library is still available in the Obsolete
folder on the Tools CD

Quote:>Are there any books available yet, other than Metrowerks' 600-page
>softcopy reference?  Is this available in hardcopy from Metrowerks?
>I checked www.amazon.com and didn't see a new edition of Plauger.

You know the best is the ANSI standard, you can purchase this from the
ANSI/ISO Committee (it is now open for discussion until the end of
February)  The address can be found on the comp.std.c++ news group  I
believe this is the address

CBEMA
1250 Eye Street, Suite 200
Washington, DC 20005

Tel: 202-737-8888

The cost is $55 and may be paid for by check or by credit card.

I think Plauger has a book on it too but may not include everything (but
if Amazon.com didn't have it, it may not be in print yet)

I tried to give examples in the MSL C++ Reference for streams classes, but
for others you might want to look at a tutorial such as the STL Reference
and Tutorial by Musser and Saini.

Ron

--
METROWERKS                   Ron Liechty

http://www.metrowerks.com/about/people/rogues.html#mwron

 
 
 

1. ANSI C Library -> MSL C Library compatibilty?

Alright,
I have started porting some Unix programs(written by others) to the
Macintosh using CWPro 3.  In doing so, most of the programs use ANSI C
library functions for portability.  In the past, I have used the ANSI C/C++
libraries that were in CW 11.  Now, when I try to convert over to the MSL
C/C++ libraries I get link errors.

My question at this moment, before presenting any specific link error
messages, is how compatible are the MSL C/C++ libraries to the old ANSI
C/C++ libraries that shipped w/ CW 11?  What are some of the general
problems to watch out for?  Are there any specific #defines that need to be
set in order to use the "Standard" functions only out of MSL?

Also, are there any code/speed issues if I just stay with the old ANSI C/C++
libraries?

Thanks for your help.

-Anthony

-alw
http://home.earthlink.net/~wilsona

2. Know any tools for Monitoring Memory Misuse?

3. MSL 2.1.1 Update <clap><clap><clap>

4. HELP: Who ships this 'Moniterm Viking' for the AMIGA ?

5. CW 4-->5 library changes?

6. 5400 series

7. ANSI lib -> MSL Library usage

8. Winsystems cpu board plus flash disk problems

9. CW10 -> Pro 6: MSL library problem?

10. <<<<< HELP: Creating new project >>>>>

11. MSL cin >> string unexpected behaviour

12. <<<<>>>> WANTED : Library of low level or undocumented hacks <<>>

13. Library >>CarbonLib<< was not found