Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Wishlist for new features in DMC
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. 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 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/ Jun 19 2001
|