December 19, 2005 Compilation problem | ||||
---|---|---|---|---|
| ||||
I am new to the DM environment, but I want to use it to port a library from Linux and gcc. The DM IDDE really seems to be just what I need to set up a project with 200+ C++ classes in several subdirectories. Where I fall over, however, is when I try to compile one particular file, 'writer.cpp'. 'writer.h' has the includes: #include <string> #include <iostream> Compilation with 8.42n fails with two errors: Error: \dm\stlport\stlport\stl\_config.h(469): missing decl-specifier-seq for declaration of 'e'. This corresponds to the source line: namespace std { } and a consequent(?) error: Error: \dm\stlport\stlport\stl\_config.h(527): unidentified identifier 'std'. This corresponds to the source line: namespace stlport = _STLP_STD; What is the problem, please? JR |
December 20, 2005 Re: Compilation problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Redmond | Try reducing the file to the minimum that reproduces the error. |
Copyright © 1999-2021 by the D Language Foundation