Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 19, 2003 #undef __SC__ in stl_dm.h | ||||
---|---|---|---|---|
| ||||
What is the reason that __SC__ is being #undef'ed in stl_dm.h? I tried to use stlport instead of SGI's stl, but #undef'ing __SC__ breaks a lot of things in other code that relies on it such as MFC and ATL header files. Thanks! Jan |
March 19, 2003 Re: #undef __SC__ in stl_dm.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | "Jan Knepper" <jan@smartsoft.us> wrote in message news:3E77D33C.5C7139F5@smartsoft.us... > What is the reason that __SC__ is being #undef'ed in stl_dm.h? I tried to use stlport instead of SGI's stl, but #undef'ing __SC__ breaks a lot of things in other code that relies on it such as MFC and ATL header files. It's to disable the anachronistic STLport code that supported the Symantec C++ compiler. |
March 19, 2003 Re: #undef __SC__ in stl_dm.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote: > > What is the reason that __SC__ is being #undef'ed in stl_dm.h? I tried to use stlport instead of SGI's stl, but #undef'ing __SC__ breaks a lot of things in other code that relies on it such as MFC and ATL header files. > > It's to disable the anachronistic STLport code that supported the Symantec C++ compiler. Oh boy! I guess those should be replaced than with #if __SC__ <=/>= 0x####.... Jan |
March 19, 2003 Re: #undef __SC__ in stl_dm.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | "Jan Knepper" <jan@smartsoft.us> wrote in message news:3E77ECA8.6C04105A@smartsoft.us... > Walter wrote: > > > > What is the reason that __SC__ is being #undef'ed in stl_dm.h? I tried to use stlport instead of SGI's stl, but #undef'ing __SC__ breaks a lot of things in other code that relies on it such as MFC and ATL header files. > > > > It's to disable the anachronistic STLport code that supported the Symantec > > C++ compiler. > > Oh boy! I guess those should be replaced than with #if __SC__ <=/>= 0x####.... That would work better. |
March 19, 2003 Re: #undef __SC__ in stl_dm.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | On Tue, 18 Mar 2003 23:06:00 -0500, Jan Knepper wrote: > Walter wrote: >> > What is the reason that __SC__ is being #undef'ed in stl_dm.h? I tried to use stlport instead of SGI's stl, but #undef'ing __SC__ breaks a lot of things in other code that relies on it such as MFC and ATL header files. Which version of DMC++ / STLport are you using? (I guess you are using DMC 8.30 with the included STLport) >> It's to disable the anachronistic STLport code that supported the Symantec C++ compiler. > Oh boy! I guess those should be replaced than with #if __SC__ <=/>= 0x####.... The current version of STLport for DMC++ (ftp://ftp.digitalmars.com/Digital_Mars_C++/STL/stlport.zip) only undefs __SC__ for building the STLport library itself (but this shouldn't affect your code) - it isn't undef'd anymore for programs that include a STLport header file. bye, Christof -- http://cmeerw.org JID: cmeerw@jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net? |
Copyright © 1999-2021 by the D Language Foundation