RE: [GD-General] meaning of sizeof(int) on all plateform
Brought to you by:
vexxed72
From: Jay W. <woo...@Ro...> - 2003-06-27 23:52:11
|
Hold on -- it seems to me that the existence of forward declaration necessi= tates that all pointers be the same size. I suppose you wouldn't lose information when casting, as long as it's guara= nteed that sizeof(void*) >=3D sizeof(any other pointer). Still, my underst= anding has always been that all pointers are the same size. =20 > -----Original Message----- > From: Gareth Lewin [mailto:GL...@cl...] > Sent: Friday, June 27, 2003 1:45 AM > To: gam...@li... > Subject: RE: [GD-General] meaning of sizeof(int) on all plateform >=20 >=20 > btw, sizeof(pointer) isn't a real value, it is perfectly=20 > valid for a certain > platform to have differant sizes of pointers, so sizeof (void*) is not > always =3D=3D sizeof(int*). |