www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1549] New: Any chance we'll see a "-version=Phobos" in dmd.conf/sc.ini?


           Summary: Any chance we'll see a "-version=Phobos" in
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: anders1 gmail.com

Supporting both Phobos and Tango (and other possible libraries) would be easier
if Phobos used -version=Phobos, like Tango does in its dmd.conf.

Currently the workaround is to simply do something like this, which works but
is not ideal:

{ do stuff }
else {
// phobos

It's a quite simple addition and wouldn't break anything, so I'd recommend that
it goes into dmd 1.x as well as 2.x.


Oct 07 2007