Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Jordan Miner
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,

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Anders F Björklund
Lars Ivar Igesund wrote: FreeBSD breaks existing code, and so will OSX whenever darwin is removed. Now a developer already active on those platform is forced to somehow make sure both identifiers are in place until some unknown point in the future. Since the version identifiers have been esta

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Lars Ivar Igesund
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 i

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Walter Bright
Jacob Carlborg wrote: They call it "Mac OS", then they add a version like this: "Mac OS 9". Then when the tenth versions came it happened to be built on a nix base/core (known as darwin) and they also added the X (probably to reflect the new nix base, "X" is also ten using roman numerals) makin

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Leandro Lucarella
Tomas Lindquist Olsen, el 15 de abril a las 02:26 me escribiste: > >> Even if you strip underscores, OSX and Win32/64 still don't match > >> C/C++ identifiers. Why should linux be special? > > > > Because the gcc macro suits the need perfectly. The others don't. > > I simply don't agree here. To m

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Leandro Lucarella
Tomas Lindquist Olsen, el 15 de abril a las 01:45 me escribiste: > On Tue, Apr 14, 2009 at 11:51 PM, Walter Bright > wrote: > > Tomas Lindquist Olsen wrote: > >> > >> On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright > >> wrote: > >>> > >>> Tomas Lindquist Olsen wrote: > > And if not, why

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Michel Fortin
On 2009-04-14 20:19:29 -0400, Walter Bright said: __APPLE__ or __MACH__ -> OSX Apple has made many operating systems besides OSX, so __APPLE__ is out. I can't even remember which OS Mach is. It's defined(___APPLE__) && defined(__MACH__) that is used (not "or"). Read it as "An Apple OS run

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Jacob Carlborg
Walter Bright wrote: 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 gene

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Jacob Carlborg
Denis Koroskin wrote: On Wed, 15 Apr 2009 01:48:00 +0400, Jacob Carlborg wrote: 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 an

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Walter Bright
Jarrett Billingsley wrote: Out of all the arguments put forth so far, I think this is the strongest. OSX is just the name of Apple's 10th Mac OS. Why would we have version(OSX), but not version(WinXP), version(WinVista), version(LinuxUbuntuGutsy) etc. etc. etc.? Predicting what Apple (or anyo

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Anders F Björklund
Jarrett Billingsley wrote: Michel Fortin wrote: To me it's clear that Darwin is the core on which Mac OS X and iPhone OS are based on. Mac OS X looks like a marketing name to me; I wouldn't be surprised if in a few years it gets renamed to Mac OS XI, or something else, because Mac OS X 10.10 wou

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Anders F Björklund
Denis Koroskin wrote: I also wonder why it is OSX. Are versions prior to MacOS 10 (which is marketed as MacOS X) officially unsupported by D? All versions before Mac OS X 10.4 are "unsupported", even though you can make Mac OS X 10.3 limp along with an older GDC version*. Mac OS 9 is flat out

Re: dmd 1.043 alpha for FreeBSD 7.1

2009-04-15 Thread Anders F Björklund
Walter Bright wrote: 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. I can only seem to find "Mac OS X", not "OSX" ?