[Psi-devel] [PATCH] fox for gcc on 64bit archs
Maciek Niedzielski
machekku at uaznia.net
Tue Jan 2 15:27:26 PST 2007
Przemysław Maciąg wrote:
> Dnia środa, 3 stycznia 2007 00:12, Maciek Niedzielski napisał:
>> Przemysław Maciąg wrote:
>>> +#if __WORDSIZE == 64
>> The underscores at the beginning of the name seem to be shouting
>> "unportable!" to me, but maybe I'm wrong ;)
> what is more important question: what's the number behind sizeof(*)? is it 4
> or 8? if 4 - then visual will have the same problem as gcc :)
Yes, but if it doesn't know "__WORDSIZE", then it won't work even on
32bit systems, so the fix may break more things than fix.
(as a sidenote, it works in VS2003, but still I find these underscores
rather suspicious)
--
Maciek
xmpp:machekku at uaznia.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070103/a4a20d42/attachment.pgp
More information about the psi-devel
mailing list