c++ - Wishlist for new features in DMC
- "Pramod Subramanyan" <pramod_sx rediffmail.com> Jun 09 2001
- Jan Knepper <jan smartsoft.cc> Jun 10 2001
- "Walter" <walter digitalmars.com> Jun 10 2001
- Mark Evans <mevans zyvex.com> Jun 19 2001
- Arjan Knepper <arjan jak.nl> Jun 19 2001
I've been using DMC for a fair amount of time now, and its a great compiler. But there a few things that rankle me. DMC seems to supports all the language features you can possibly need, but there are something's missing in the libraries. To begin with, since a lot of the new C++ code that floats around uses headers like iostream instead of iostream.h, cstring instead of string.h and has all these functions in put in namespace std, it would nice of DMC too did the same. Probably to maintain backward compatibility, these features could be enabled by a command line option. Another thing would some kind of way to pass default arguments to the compiler. Say you setup some environment variable or file with options like -Ae and -Ab so that you don't need to type them everytime you compile. A complete port of the SGI STL in which the 'add-on' classes like the hash_map also work would probably be the icing on the cake. Maybe I'm asking for too much, or maybe this isn't what DMC is intended for, but I think the compiler would probably be too good with these kind of functions. Pramod Subramanyan
Jun 09 2001
Pramod Subramanyan wrote:Another thing would some kind of way to pass default arguments to the compiler. Say you setup some environment variable or file with options like -Ae and -Ab so that you don't need to type them everytime you compile.
SC.INI (in SC.EXE directory) [Environment] CFLAGS=-Ae -AbA complete port of the SGI STL in which the 'add-on' classes like the hash_map also work would probably be the icing on the cake.
Does 'hash_map' not work? Jan
Jun 10 2001
Those are great suggestions. Of course you're right that I need to get the rest of C++98 implemented. The default arguments is already implemented! Set the CFLAGS environment variable, or the CFLAGS= in \dm\bin\sc.ini and add in the defaults as if they were typed from the command line. It's documented in: www.digitalmars.com/ctg/sc.html Pramod Subramanyan wrote in message <9g0c4k$2f20$1 digitaldaemon.com>...I've been using DMC for a fair amount of time now, and its a great
But there a few things that rankle me. DMC seems to supports all the language features you can possibly need, but there are something's missing in the libraries. To begin with, since a lot of the new C++ code that floats around uses headers like iostream instead of iostream.h, cstring instead of string.h
has all these functions in put in namespace std, it would nice of DMC too did the same. Probably to maintain backward compatibility, these features could be enabled by a command line option. Another thing would some kind of way to pass default arguments to the compiler. Say you setup some environment variable or file with options like -Ae and -Ab so that you don't need to type them everytime you compile. A complete port of the SGI STL in which the 'add-on' classes like the hash_map also work would probably be the icing on the cake. Maybe I'm asking for too much, or maybe this isn't what DMC is intended
but I think the compiler would probably be too good with these kind of functions. Pramod Subramanyan
Jun 10 2001
STL Port is the best choice for STL work. http://www.stlport.org/ MUCH superior to the buggy MSVC 6 STL version and GNU Linux-capable too. Free open source. Mark
Jun 19 2001
Mark Evans wrote:STL Port is the best choice for STL work. http://www.stlport.org/
Not necessarily tue. Depends on the/your creteria. See : http://www.cuj.com/roundup/a.htmMUCH superior to the buggy MSVC 6 STL version and GNU Linux-capable too. Free open source.
Arjan
Jun 19 2001