This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libobjc/12035] Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]