www.digitalmars.com         C & C++   DMDScript  

c++.stl - how to tell STL error versus source error

reply Jan Theodore Galkowski <bayesianlogic acm.org> writes:
I'm getting this obscure:

sc ..\CH\reducelog.cpp -cpp -p -mn -C -WA -S -3 -a8 -c -gf -D_CONSOLE=1
-IC:\dm\stl -IC:\dm\stlport\stlport -IC:\ch\include -o..\CH\reducelog.obj
Error: C:\dm\stl\char_traits.h(33): ';' expected following declaration of
struct member
Error: C:\dm\stl\char_traits.h(34): ';' expected following declaration of
struct member
Error: C:\dm\stl\char_traits.h(33): ';' expected following declaration of
struct member
Error: C:\dm\stl\char_traits.h(34): ';' expected following declaration of
struct member
Fatal Error: C:\dm\stl\string(2030): too many errors
Lines Processed: 7725  Errors: 5  Warnings: 0
Build failed


Now, I'm ready to believe there's something in the source I am compiling which
is causing this, but anyone have a clue as to how I might make that connection?

This is a source code I picked up from someone else which was compiled using
an environment (possibly g++) which I cannot reproduce and do not have ready
access to.  I use Digital Mars, but haven't used it much with C++, being a C
fiend myself.

Any clues would be GREATLY appreciated!
Sep 20 2009
parent watsson7278 <nickrobin tutanota.com> writes:
To get the details about the STL error, I will recommend you 
visit 
https://errorcode0x.com/how-to-resolve-epson-printer-error-code-0xf3/. This
will guide you on how to fix the error.
May 27 2019