www.digitalmars.com         C & C++   DMDScript  

c++ - Wishlist for new features in DMC

reply "Pramod Subramanyan" <pramod_sx rediffmail.com> writes:
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
next sibling parent Jan Knepper <jan smartsoft.cc> writes:
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 -Ab
 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.

Does 'hash_map' not work? Jan
Jun 10 2001
prev sibling parent reply "Walter" <walter digitalmars.com> writes:
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
parent reply Mark Evans <mevans zyvex.com> writes:
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
parent Arjan Knepper <arjan jak.nl> writes:
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.htm
 MUCH superior to the buggy MSVC 6 STL version and GNU Linux-capable too.  Free
open source.

Arjan
Jun 19 2001