www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 564] New: Setting predefined versions on the command line causes crashes

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

           Summary: Setting predefined versions on the command line causes
                    crashes
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic, ice-on-invalid-code, ice-on-valid-code
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: deewiant gmail.com


Compiling any file with predefined versions set causes random errors. My
results, compiling a file containing only "void main() {}":

-version=X86: Error: version identifier
'⌂▲♥éà▲♥éï▲♥éæ▲♥éù▲♥éØ▲♥éú▲♥é®▲♥é»▲♥éÁ▲♥é╗▲♥é┴▲♥éÃ▲♥é═▲♥éË▲♥é┘▲♥é▀▲♥éÕ▲♥éÙ
▲♥é±▲♥é¸▲♥é²▲♥é♣▼♥é♂▼♥é◄▼♥é↨▼♥é↔▼♥é▲▼♥é▼▼♥é
▼♥é!▼♥é"▼♥é#▼♥é$▼♥é%▼♥é&▼♥é'▼♥é(▼♥é'
is reserved and cannot be set
-version=all: Error: version identifier '' is reserved and cannot be set
-version=(any of the other listed predefined versions at
http://www.digitalmars.com/d/version.html#version): DMD crash


-- 
Nov 18 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail puremagic.com schrieb am 2006-11-18:
 http://d.puremagic.com/issues/show_bug.cgi?id=564

 Compiling any file with predefined versions set causes random errors. My
 results, compiling a file containing only "void main() {}":

 -version=X86: Error: version identifier
 '⌂▲♥éà▲♥éï▲♥éæ▲♥éù▲♥éØ▲♥éú▲♥é®▲♥é»▲♥éÁ▲♥é╗▲♥é┴▲♥éÃ▲♥é═▲♥éË▲♥é┘▲♥é▀▲♥éÕ▲♥éÙ
 ▲♥é±▲♥é¸▲♥é²▲♥é♣▼♥é♂▼♥é◄▼♥é↨▼♥é↔▼♥é▲▼♥é▼▼♥é
 ▼♥é!▼♥é"▼♥é#▼♥é$▼♥é%▼♥é&▼♥é'▼♥é(▼♥é'
 is reserved and cannot be set
 -version=all: Error: version identifier '' is reserved and cannot be set
 -version=(any of the other listed predefined versions at
 http://www.digitalmars.com/d/version.html#version): DMD crash

test cases: http://dstress.kuehne.cn/nocompile/version_23.d http://dstress.kuehne.cn/nocompile/version_24.d http://dstress.kuehne.cn/nocompile/version_25.d http://dstress.kuehne.cn/nocompile/version_26.d http://dstress.kuehne.cn/nocompile/version_27.d http://dstress.kuehne.cn/nocompile/version_28.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZEv6LK5blCcjpWoRAtOoAJ9vImnLE3AvJpg9Grl3oCm5lsehagCfb9oP e1KqO1/9qBoG8E8l7qAgrlQ= =ktQX -----END PGP SIGNATURE-----
Nov 22 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=564


deewiant gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from deewiant gmail.com  2006-12-03 03:59 -------
Fixed in DMD 0.176.


-- 
Dec 03 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=564


deewiant gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidl 126.com




------- Comment #3 from deewiant gmail.com  2006-12-03 04:04 -------
*** Bug 591 has been marked as a duplicate of this bug. ***


-- 
Dec 03 2006