[Issue 564] New: Setting predefined versions on the command line causes crashes

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Nov 22 05:45:58 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at 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-----



More information about the Digitalmars-d-bugs mailing list