www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1506] New: version(freebsd)

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1506

           Summary: version(freebsd)
           Product: D
           Version: unspecified
          Platform: Other
               URL: http://www.digitalmars.com/d/1.0/version.html#version
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: sean chittenden.org


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


-- 
Sep 15 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1506






s/gdc/tango/

Brain-o.


-- 
Sep 15 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1506






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.


-- 
Sep 16 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1506


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr puremagic.com
         Resolution|                            |FIXED



---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 03 2011