c++.stl.port - DMC's compatibility w/ namespaces
- Daniel Jomphe <Daniel_member pathlink.com> Nov 08 2002
- Christof Meerwald <cmeerw web.de> Nov 08 2002
- Daniel Jomphe <Daniel_member pathlink.com> Nov 08 2002
Hi, Is DMC at all compatible with any namespace? And if not, how would be STLPort compatible with DMC? Whenever I write the next statement, I get the associated error: using namespace std; ^ MyApp.cpp(16) : Error: identifier expected ..thank you! Daniel Jomphe
Nov 08 2002
On Fri, 8 Nov 2002 19:04:51 +0000 (UTC), Daniel Jomphe wrote:Is DMC at all compatible with any namespace? And if not, how would be STLPort compatible with DMC?
STLport for DM uses something like "#define std", so you can write something like std::string or "using std::string", but you can't write "using namespace std;"using namespace std; ^ MyApp.cpp(16) : Error: identifier expected
As these std namespaces are currently ignored anyway, you could enclose it in an "#ifndef __DMC__" until DM gets proper namespace support. bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Nov 08 2002
Is DMC at all compatible with any namespace? And if not, how would be STLPort compatible with DMC?
STLport for DM uses something like "#define std", so you can write something like std::string or "using std::string", but you can't write "using namespace std;"using namespace std; ^ MyApp.cpp(16) : Error: identifier expected
As these std namespaces are currently ignored anyway, you could enclose it in an "#ifndef __DMC__" until DM gets proper namespace support.
Thank you very much.
Nov 08 2002








Daniel Jomphe <Daniel_member pathlink.com>