www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - void.sizeof: semicolon expected, not '.'

reply Vathix <vathix dprogramming.com> writes:
size_t vsize = void.sizeof;


DMD 0.126. This error did not happen in previous versions.
Jun 08 2005
next sibling parent clayasaurus <clayasaurus gmail.com> writes:
Vathix wrote:
 size_t vsize = void.sizeof;
 
 
 DMD 0.126. This error did not happen in previous versions.

probably has something to do with the void initializers, if it is expecting 'size_t vsize = void;'
Jun 08 2005
prev sibling parent Thomas Kuehne <thomas-dloop kuehne.this-is-spam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vathix schrieb am Wed, 08 Jun 2005 15:31:07 -0400:
 size_t vsize = void.sizeof;


 DMD 0.126. This error did not happen in previous versions.

Added to DStress as http://dstress.kuehne.cn/run/v/void_01.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCqFSD3w+/yD4P9tIRAk21AJ4t8XqCzl9EqOE+J6rynPAH0IvyjwCeKUfs 2SvX3zT8hWiCdB+aRud5nkI= =PaC9 -----END PGP SIGNATURE-----
Jun 09 2005