[Issue 2021] version(linux) is inconsistent
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 22 18:48:12 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2021
------- Comment #7 from wbaxter at gmail.com 2008-04-22 20:48 -------
Still seems kind of silly to me.
First because this is D -- why should a D user be expected to have any
knowledge of how GCC usually behaves on Linux.
And second because I think you'd be the first to agree that the way
preprocessor symbols are defined in C/C++ is totally fubar and inconsistent.
Why perpetuate a broken system?
That said, the way GDC does it, as AFB pointed out, takes the lemon that is DMD
version names, and makes lemonade, by repositioning "linux" as a subcategory of
"Unix". It would definitely be nice if DMD would pick up this idea and add a
"Unix" version.
--
More information about the Digitalmars-d-bugs
mailing list