www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2994] New: Incomplete "Predefined Versions" documentation

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

           Summary: Incomplete "Predefined Versions" documentation
           Product: D
           Version: 1.043
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: cbkbbejeap mailinator.com


The D1 and D2 documentation for "Predefined Versions" does not include
macintosh/osx, does not mention how FreeBSD is handled, and does not point out
any distinction between "linux" and "Posix".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 16 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994






14:28:25 PDT ---
It also doesn't mention how Solaris is handled.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 16 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994


Anders F Bj <afb algonet.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afb algonet.se





DMD doesn't handle Solaris yet afaik, GDC calls it "solaris":
http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Version

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994


Tomas Lindquist Olsen <tomas famolsen.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomas famolsen.dk





04:42:38 PDT ---
"Solaris" is a predefined version identifier in DMD 1.045

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994


Stewart Gordon <smjg iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com





How is the distinction between GUI and console apps on Mac OS X handled, given
such incompatibilities between them as the line break style?

And what about whatever other 32+-bit platforms exist?  (Game consoles? 
iPhone?  ....)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994






I'm thinking now that the best solution may be to have an official list of
version identifiers for OSs maintained separately from the D1 and D2 specs, and
have those specs link to this list.  That way, once the D1 spec is finished,
this list can still be kept up to date with new OSs that may emerge, ready for
anyone wanting to write a D compiler therefor.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 18 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |braddr puremagic.com





PDT ---
I'd rather see the spec fully contained within the spec, not having references
to external sites.  As further justification to my view, in addition to version
identifiers, the ABI part of the spec likely needs updates for new platforms
too.  Just because they're not implemented by DMD doesn't mean the spec
shouldn't contain those platforms.

So, for those that maintain compilers that support other platforms, can you
attach a diff for at least the version identifiers and file another bug report
to update the abi portion of the spec as well? :)

Thanks,
Brad

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 07 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994







 I'd rather see the spec fully contained within the spec, not having references
 to external sites. 
Well, obviously it wouldn't be an external site. It would be a list somewhere on the D website but separate from the core language spec. Or maybe a page that is in the spec but with an exemption made from freezing to allow for additions of new platforms.
 As further justification to my view, in addition to version
 identifiers, the ABI part of the spec likely needs updates for new platforms
 too.  Just because they're not implemented by DMD doesn't mean the spec
 shouldn't contain those platforms.
Yes, that's exactly why I proposed this. The ABI page should be dealt with in the same way as the predefined version page. I suppose it's a matter of creating a "Platform specifics" section of the specs. This would cover not only the predefined versions and ABI, but also such things as the inline assembler and possibly the current pages on Win32 specifics. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 07 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994






PDT ---

 Or maybe a page that is in the spec but with an exemption made from freezing
 to allow for additions of new platforms.
Ah, well, the freeze of the D1 spec has been pragmatic enough to support updates like this anyway, so no need to worry terribly much about that. I'll reach out on the digitalmars.D newsgroup to attempt to gather up the current list to fold in so this bug can be closed out. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 07 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994






PDT ---

 does not mention how FreeBSD is handled, and does not point out
 any distinction between "linux" and "Posix".
Platform identifiers are provided for user code so that it can work platform-dependent and it's up to user code to handle it in any way needed. For example it's used in core.stdc.stdio to version out various declaration. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 10 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2994


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



18:50:43 PST ---
Updated from compiler source cond.c.

http://www.dsource.org/projects/phobos/changeset/2147

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 09 2010