[Bug libobjc/12035] Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled
zack at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 1 22:39:00 GMT 2003
------- Additional Comments From zack at gcc dot gnu dot org 2003-12-01 22:39 -------
This patch is wrong. coretypes.h and tm.h are not to be referenced outside of
the gcc directory -- I realize that some files in libobjc already do that, but
that's not a reason to do it more.
See if you can't include <limits.h> and use CHAR_BIT * sizeof(void *) or a
similar construct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12035
More information about the Gcc-bugs
mailing list