error: size_t has not been declared - solved

Sascha Fr?öhlich saschafroehlich at gmail.com
Thu May 31 10:13:04 EDT 2007


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

Hi folks,

I was compiling openanno (http://openanno.org) and therefor needed physfs.

(Mac OS X 10.4, gcc 4.0.1, subversion checkout from trunk)

During compiling I got this error:

/usr/local/include/physfs.h:1867: error: 'size_t' has not been declared
/usr/local/include/physfs.h:1868: error: 'size_t' has not been declared

I inserted a

#include <stdlib.h>

in physfs.h and it solved the problem.

Thought it might be useful for you to know that.

Greets,
Sascha Froehlich
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGXtfwN1kDpsIDAWERAq6sAKCrv3NRirB4i71ePl0PrxkR5fk8KACbB0UA
Wcs7FL39nEHCRISR23OYsTU=
=XHk4
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpkeys.asc
Type: application/pgp-keys
Size: 1711 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20070531/6c7487f2/attachment.key>


More information about the physfs mailing list