Hi,
I'm trying to port to DOS a WIN32 C++ application I've programmed using C++ STL.
I'm using DMC 8.29b with STLPort 4.5.3.
Other than the DMC's limitations with namespaces and templates which I had to
adjust my sources to, everything seems to work fine now. But there's a problem :
my application still won't compile because it uses <list>. Why is it so? Is it
because I shouldn't use at all <list> (or <vector> also, which didn't work too)
with DMC, for the same template limitations that forced me to not use my class
templates from the original app?
Here's what I run :
DMC MyApp -a1 -Aa -Ab -Ae -Ar
-I\dm\stlport\stlport \dm\lib\stlport_dm_static.lib
And the result (a little reformatted for you):
struct _List_node_base {
^
c:\document\developpement\dm\stlport\stlport\stl/_list.h(60) :
Error: malformed template declaration
};
^
c:\document\developpement\dm\stlport\stlport\stl/_list.h(63) :
Error: illegal combination of types
--- errorlevel 1
Thank you!
Daniel Jomphe

Can you please post a minimal example/test-case for the problem - the
compiler output alone isn't all that useful without the source-code.
bye, Christof
--
http://cmeerw.org JID: cmeerw jabber.at
mailto cmeerw at web.de
...and what have you contributed to the Net?

Can you please post a minimal example/test-case for the problem - the
compiler output alone isn't all that useful without the source-code.

In fact the error was generated in STLPort's _list.h when the compiler was
parsing <list>. I just found it was caused by other parts of my own code. I
still was trying to use 'using namespace std;' directives. Thank you.