|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Errors when compiling [New to compiler]
Hi, I've just installed the DMC compiler. I've got the stlport package
installed as well.
I'm wondering why when I cannot get anything to compile when I use
the -A arguement.
Example:
#include <iostream>
int main()
{
}
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\dm>bin\sc test -A
# define __DFL_TMPL_PARAM( classname, defval ) class classname =
defval
^
C:\dm\bin\..\stlport\stlport\stl/_config.h(370) : Preprocessor error:
'_STLP_DEFAULT_TYPE_PARAM
' is already defined
using _STLP_VENDOR_CSTD::fgetws;
^
C:\dm\bin\..\stlport\stlport\cwchar(200) : Error: undefined identifier
'fgetws'
using _STLP_VENDOR_CSTD::fputws;
^
C:\dm\bin\..\stlport\stlport\cwchar(202) : Error: undefined identifier
'fputws'
using _STLP_VENDOR_CSTD::getwchar;
^
C:\dm\bin\..\stlport\stlport\cwchar(212) : Error: undefined identifier
'getwchar'
using _STLP_VENDOR_CSTD::getwc;
^
C:\dm\bin\..\stlport\stlport\cwchar(216) : Error: undefined identifier
'getwc'
Fatal error: too many errors
--- errorlevel 1
Any help would be apperciated.
--
To everyone is given the key to the gates of heaven, but the same key
opens the gate of hell.
Jan 16 2003
Probably best to not use -A with stlport. -Walter "Kwan Ting" <me here.com> wrote in message news:b07m24$24c1$1 digitaldaemon.com... Jan 16 2003
|