www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.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

↑ ↓ ← "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
→ 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
"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
↑ ↓ 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
↑ ↓ → 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