www.digitalmars.com         C & C++   DMDScript  

c++.stl.sgi - doesn't work, need help

reply "BaiYang" <baiyang 263.net.cn> writes:
hi all:

I just downloaded STL SGI 3.3 and compiled sth with it. so following error
occured :

D:\TEMP\Runtime>dmc test.cpp
class __Named_exception : public __STL_EXCEPTION_BASE {
                                                    ^
d:\dmc\bin\..\stl\stdexcept(26) : Error: undefined identifier 'exception'
d:\dmc\bin\..\stl\stl_algo.h(1001) : Error: ')' expected
d:\dmc\bin\..\stl\stl_algo.h(1025) : Error: ')' expected
d:\dmc\bin\..\stl\stl_algo.h(1050) : Error: ')' expected
d:\dmc\bin\..\stl\stl_algo.h(1072) : Error: ')' expected
Fatal error: too many errors
--- errorlevel 1

I have only used std::string in my test.cpp.

pls help me~

PS: my DMC version is 8.35n
Nov 05 2003
parent reply "Walter" <walter digitalmars.com> writes:
"BaiYang" <baiyang 263.net.cn> wrote in message
news:bocjrs$1v64$1 digitaldaemon.com...
 PS: my DMC version is 8.35n
Since the updates to the compiler are free, I'd start first with upgrading to 8.37. Next, I'd stick with using the provided STLport, as that has been tested with DMC++. -Walter
Nov 06 2003
parent reply "BaiYang" <baiyang 263.net.cn> writes:
Hi Walter:

Thx for ur answer, I already downloaded Christof's STLport patch for DMC++.
But the problem is I can't find where to download the smake.exe, or this
tool is not free ?

--
  best regards
  BaiYang
  baiyang 263.net.cn
**** < END OF EMAIL > ****




"Walter" <walter digitalmars.com> 写入邮件
news:bod4d1$2p46$1 digitaldaemon.com...
 "BaiYang" <baiyang 263.net.cn> wrote in message
 news:bocjrs$1v64$1 digitaldaemon.com...
 PS: my DMC version is 8.35n
Since the updates to the compiler are free, I'd start first with upgrading to 8.37. Next, I'd stick with using the provided STLport, as that has been tested with DMC++. -Walter
Nov 06 2003
next sibling parent "Walter" <walter digitalmars.com> writes:
"BaiYang" <baiyang 263.net.cn> wrote in message
news:boep7f$26pf$1 digitaldaemon.com...
 Hi Walter:

 Thx for ur answer, I already downloaded Christof's STLport patch for
DMC++.
 But the problem is I can't find where to download the smake.exe, or this
 tool is not free ?
smake.exe isn't free, it comes on the CD at www.digitalmars.com/shop.html. Or you can just download STLport from www.digitalmars.com/download/freecompiler.html which contains a prebuilt library for it.
Nov 06 2003
prev sibling parent "BaiYang" <baiyang 263.net.cn> writes:
ok, I read the webpage and find smake.exe is a clone of MSVC's nmake.exe, so
I think I can use the nmake as a substituter.

--
  best regards
  BaiYang
  baiyang 263.net.cn
**** < END OF EMAIL > ****



"BaiYang" <baiyang 263.net.cn> 写入邮件
news:boep7f$26pf$1 digitaldaemon.com...
 Hi Walter:

 Thx for ur answer, I already downloaded Christof's STLport patch for
DMC++.
 But the problem is I can't find where to download the smake.exe, or this
 tool is not free ?

 --
   best regards
   BaiYang
   baiyang 263.net.cn
 **** < END OF EMAIL > ****




 "Walter" <walter digitalmars.com> 写入邮件
 news:bod4d1$2p46$1 digitaldaemon.com...
 "BaiYang" <baiyang 263.net.cn> wrote in message
 news:bocjrs$1v64$1 digitaldaemon.com...
 PS: my DMC version is 8.35n
Since the updates to the compiler are free, I'd start first with
upgrading
 to 8.37. Next, I'd stick with using the provided STLport, as that has
been
 tested with DMC++. -Walter
Nov 06 2003