dmd 1.043 alpha for FreeBSD 7.1

Jordan Miner jminer2613 at nospam.students.pcci.edu
Wed Apr 15 16:08:52 PDT 2009


Walter Bright Wrote:

> Because gcc on linux predefines "linux", not "Linux".

Please change the version identifier from linux to Linux.

D is a chance to fix stuff wrong or inconsistent in other languages. C compilers may use inconsistent naming like __APPLE__, __MACH__, __linux, _WIN32, _WIN64, __FreeBSD__, etc. Why not take the opportunity to fix the inconsistency in addition to all the other improvements D has?

The argument that it should be linux because of gcc does not apply to those who come from other languages. If someone is learning D after only knowing Java or C#, and they want to use versioning, linux is harder to remember for them. I don't care how gcc does it. I've never really used gcc. (Might even be harder to remember for people who used C a lot.) Is it more important to be consistent with gcc or with other D identifiers?

Plus, how many people want it to be linux instead of Linux? From what I've seen, it seems the majority would prefer it being Linux.



More information about the Digitalmars-d-announce mailing list