Note for PowerSoft's Power++ Users
Known problemsSubject: Re: SGI STL Adaptation Page updated (STLport 2.031
release) This version (2.031) seems to work with Powersoft's Power++ 2.0 compiler, which is based on the Watcom C/C++ 11.0 compiler. The STL debug mode still won't compile, but everything else seems to work. Power++ does some memory management in debug mode that needs to be worked around, and there is a nuisance warning message that needs to be suppressed. I generally load all the STL headers I use in a single header file, and do the workarounds needed there. The STL.HPP file I use is below. // Power++ 2.0 include file #ifndef _STL_HPP_INCLUDED // Define symbol to indicate SGI STL // The following turns off warning 549: #pragma warning 549 9; /* Redefine the C++ "new" and "delete"
operators to not go through the component library's memory checker. */ // If can get STL debug working, use the following // Get rid of Watcom's min and max macros // Get configuration defines #include "stlcomp.h" #include "algo.h" // SGI-specific additions #ifdef _REDEFINE_WNEW #endif
| |
Table of Contents | |
Copyright 2001 by STLport |