[Psi-devel] [PATCH] fox for gcc on 64bit archs
Przemysław Maciąg
pmaciag at gmail.com
Tue Jan 2 15:43:30 PST 2007
Dnia środa, 3 stycznia 2007 00:27, Maciek Niedzielski napisał:
> 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.
we can add simple #if defined for linux (and very probably macosx), but I have
completely no idea, what to do on windows - not my speciality ;)
> (as a sidenote, it works in VS2003, but still I find these underscores
> rather suspicious)
after upgrading to visual 2005 you would need something like this:
#define _CRT_NONSTDC_NO_WARNINGS
in stdafx.h, to compile programs with function like strcpy, without extra
warnings (but it's an single underscore at the beggining, not double ;), as
you can see ).
Cheers,
Przemek
--
--------------------------------------------------------------------------
Email: troll (at) gentoo.org Przemysław Maciąg
Email: pmaciag (at) gmail.com
Reg Linux User#: 303556 "Life is like a box of chocolates."
GPG: 2A84608A [subkeys.pgp.net] "You never know what you're gonna get."
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070103/aaef927c/attachment.pgp
More information about the psi-devel
mailing list