new DIP41: dmd/rdmd command line overhaul.

Jonathan M Davis jmdavisProg at gmx.com
Thu May 23 11:35:45 PDT 2013


On Thursday, May 23, 2013 20:27:23 =?UTF-8?B?Ikx1w61z?=.Marques 
<luismarques at gmail.com>@puremagic.com wrote:
> On Thursday, 23 May 2013 at 17:29:44 UTC, Andrei Alexandrescu
> 
> wrote:
> > I think this is overblown. First thing people use is rdmd
> > without flags, which just works. Then, builds using flags are
> > snuck in a makefile or script and forgotten about. It's just
> > the way things get done. Compiler flags are not something one
> > messes with all the time (like e.g. git's).
> 
> Maybe you are right and I'm exaggerating the importance of this.
> But isn't the dmd/dmd2 solution I argued for also one with a very
> small downside?

As long as the flags don't conflict, it would probably be better to just 
introduce the new flags and then undocument the old flags (and deprecate them if 
we want to actually work toward removing them - or just leave them 
undocumented if we don't want to have that breakage). That would work just fine 
save perhaps for a bit of confusion at first if both sets of flags are available 
and in the docs and --help. So, if we want to make the change, I think that 
it's obvious enough how to go about. It's more a question of whether we want 
to do it.

- Jonathan M Davis


More information about the Digitalmars-d mailing list