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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 7 12:51:39 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1549

           Summary: Any chance we'll see a "-version=Phobos" in
                    dmd.conf/sc.ini?
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: anders1 at 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:

version(Tango)
{ 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.

Anders


-- 



More information about the Digitalmars-d-bugs mailing list