This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/12035] Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled
- From: "zack at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2003 22:39:49 -0000
- Subject: [Bug libobjc/12035] Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled
- References: <20030822202744.12035.v.haisman@sh.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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