digitalmars.D.bugs - [Issue 1549] New: Any chance we'll see a "-version=Phobos" in dmd.conf/sc.ini?
- d-bugmail puremagic.com (26/26) Oct 07 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1549
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 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: 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 --
Oct 07 2007