Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Lars Ivar Igesund
Walter Bright wrote: Now works for FreeBSD 7.1! Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango #D: larsivi Dancing

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Tomas Lindquist Olsen
On Tue, Apr 14, 2009 at 7:29 PM, Lars Ivar Igesund larsi...@igesund.net wrote: Walter Bright wrote: Now works for FreeBSD 7.1! Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX And if

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux predefines linux, not Linux.

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Tomas Lindquist Olsen
On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright newshou...@digitalmars.com wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux predefines linux, not Linux.

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Jacob Carlborg
Walter Bright wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux predefines linux, not Linux. I wouldn't consider this consistent, some version identifiers

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Jacob Carlborg
Walter Bright wrote: Lars Ivar Igesund wrote: Walter Bright wrote: Now works for FreeBSD 7.1! Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX FreeBSD is how it is normally written

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Tomas Lindquist Olsen wrote: On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright newshou...@digitalmars.com wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Jacob Carlborg wrote: It depends on what documentation you read. http://developer.apple.com/documentation/Darwin/index.html In this documentation Darwin is all over the place. Move up a directory, and it's OSX, OSX, OSX.

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Jacob Carlborg wrote: If you follow what's normally written in the official literature and documentation shouldn't it be MacOSX then? Perhaps. One could argue it either way. I checked the predefined identifiers in gcc for guidance, and found just the unfortunately generic __APPLE__. I wish

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Robert Fraser
Walter Bright wrote: Also, note that most bands put out their first CD as a self-titled one. In my collection (admittedly a small sample; 90 bands), only 6/13 self-titled albums are first albums.

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Christopher Wright wrote: Walter Bright wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux predefines linux, not Linux. Why not define both variants?

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Robert Fraser wrote: Walter Bright wrote: Also, note that most bands put out their first CD as a self-titled one. In my collection (admittedly a small sample; 90 bands), only 6/13 self-titled albums are first albums. I salute you, sir, for actually doing some research on this important

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Tomas Lindquist Olsen
On Tue, Apr 14, 2009 at 11:51 PM, Walter Bright newshou...@digitalmars.com wrote: Tomas Lindquist Olsen wrote: On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright newshou...@digitalmars.com wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Walter Bright
Tomas Lindquist Olsen wrote: After reading more, I just can't help but feel this is wrong. linux is still the only version identifier following this logic. Comparing http://predef.sourceforge.net/preos.html and D: linux - linux _WIN32 - Win32 _WIN64 - Win64 Microsoft predefines _WIN32 for

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Steven Schveighoffer
On Tue, 14 Apr 2009 15:49:02 -0400, Walter Bright newshou...@digitalmars.com wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux predefines linux, not

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Michel Fortin
On 2009-04-14 17:56:51 -0400, Walter Bright newshou...@digitalmars.com said: Jacob Carlborg wrote: If you follow what's normally written in the official literature and documentation shouldn't it be MacOSX then? Perhaps. One could argue it either way. I checked the predefined identifiers in

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Moritz Warning
On Tue, 14 Apr 2009 12:49:02 -0700, Walter Bright wrote: Tomas Lindquist Olsen wrote: And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ... Because gcc on linux predefines linux, not Linux. The way gcc does it looks

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-14 Thread Daniel Keep
Walter Bright wrote: cemiller wrote: How about just making version and debug identifiers case-insensitive? Aren't they already in their own special namespace; they're special-case (pun intended). Because then I have to explain why some identifiers are case sensitive and some or not for