digitalmars.D.bugs - [Issue 10330] New: Regression (2.063.2): __VERSION__ is set wrong
- d-bugmail puremagic.com (25/27) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
- d-bugmail puremagic.com (17/17) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
- d-bugmail puremagic.com (11/11) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
- d-bugmail puremagic.com (11/11) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
- d-bugmail puremagic.com (9/9) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
- d-bugmail puremagic.com (9/9) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
- d-bugmail puremagic.com (9/9) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10330
http://d.puremagic.com/issues/show_bug.cgi?id=10330 Summary: Regression (2.063.2): __VERSION__ is set wrong Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 05:31:44 PDT --- module test; void main() { pragma(msg, __VERSION__); } 2.063: $ dmd test.d2063L2.063.2: $ dmd test.d63002L-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10330 05:34:46 PDT --- Copied from NG: Note that some of us have used __VERSION__ to enable compiler-specific compilation, e.g.: static assert(__VERSION__ >= 2.063, "This library can only compile with D 2.063 or newer"); Or: static if (__VERSION__ < 2.063) { /* implement some compiler/library workaround here */ } else { /* use regular code or regular import here */ } Unfortunately __VERSION__ was never built to be used with these ".point" releases, so maybe we should simply let __VERSION__ always be 2063 for all 2.063 point releases. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10330 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com Version|unspecified |D1 & D2 13:42:48 PDT --- https://github.com/D-Programming-Language/dmd/pull/2162 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10330 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/01bd0c2e1c9ed05ad754bac0afc05f6a38cdf82c fix Issue 10330 - Regression (2.063.2): __VERSION__ is set wrong https://github.com/D-Programming-Language/dmd/commit/19a54f8d3c65eb017aba3c7ef3a15f9629fe0e72 fix Issue 10330 - Regression (2.063.2): __VERSION__ is set wrong -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10330 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10330 Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b0240e505ea2be6dbbe20129c234a9302f25cb07 fix Issue 10330 - Regression (2.063.2): __VERSION__ is set wrong -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10330 Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f0efaeafd95e33ee2c5fbfb67a9ae01ab82e436b fix Issue 10330 - Regression (2.063.2): __VERSION__ is set wrong -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013