Bug 1506 – version(freebsd)

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Other
Creation time
2007-09-16T01:14:00Z
Last change time
2015-06-09T05:14:47Z
Assigned to
nobody
Creator
sean

Comments

Comment #0 by sean — 2007-09-16T01:14:11Z
Howdy. I'm porting gdc to FreeBSD and would like to see version(freebsd) added to the 1.0 and 2.0 spec. Thanks. -sc
Comment #1 by sean — 2007-09-16T01:15:45Z
s/gdc/tango/ Brain-o.
Comment #2 by afb — 2007-09-16T02:16:34Z
version(freebsd) is already covered in GDC, as a version(Unix) subset. The D spec only includes those versions that are implemented by *DMD*. So platforms implemented by GDC (darwin/freebsd/solaris/cygwin) aren't. It would be great if the spec could include them, but I'm not holding my breath... http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Version#ExtraPredefinedVersions The D spec doesn't include other architectures (beyond x86/x64) either. If the D specification was distributable, we could make a GDC version... But since it isn't, all that can be done about this is lobbying Walter.
Comment #3 by braddr — 2011-06-03T22:18:57Z
The spec, for some time now, has had 'FreeBSD' as a documented version identifier: http://www.d-programming-language.org/version.html#PredefinedVersions It's also used by dmd for the freebsd releases. The case is different than this bug asks for though.