January 17, 2003 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. |
January 17, 2003 Re: Errors when compiling [New to compiler] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kwan Ting | Probably best to not use -A with stlport. -Walter "Kwan Ting" <me@here.com> wrote in message news:b07m24$24c1$1@digitaldaemon.com... > 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. > > |
Copyright © 1999-2021 by the D Language Foundation