[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2010-11-22 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42293 Nicola Pero changed: What|Removed |Added CC||nicola at gcc dot gnu.org --- Comment #7 fr

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-18 Thread ktietz at gcc dot gnu dot org
--- Comment #6 from ktietz at gcc dot gnu dot org 2009-12-18 15:53 --- In mingw-w64 headers we do the following #if !defined(__OBJC__) && !defined(__OBJC_BOOL) && !defined(__objc_INCLUDE_GNU) #define BOOL WINBOOL #endif For local build for obj-c we use a patched objc.h defining __OBJC_B

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-09 Thread d dot g dot gorbachev at gmail dot com
--- Comment #5 from d dot g dot gorbachev at gmail dot com 2009-12-09 23:43 --- > In mingw-w64 platform headers we worked-a-round this by checking > for __OBJC__ to check, if we shouldn't define BOOL. The hack exists in mingw32 headers, too: 230 typedef int WINBOOL,*PWINBOOL,*LPWI

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-08 Thread ktietz at gcc dot gnu dot org
--- Comment #4 from ktietz at gcc dot gnu dot org 2009-12-08 11:41 --- (In reply to comment #3) > Created an attachment (id=19235) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19235&action=view) [edit] > Diff file > > This allows me to compile it, but quoting from windef.h: /* FI

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-04 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2009-12-05 03:55 --- Created an attachment (id=19235) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19235&action=view) Diff file This allows me to compile it, but quoting from windef.h: /* FIXME: Is there a good solution

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-12-05 01:06 --- /tmp/i686-pc-mingw32/include/windef.h:234:17: error: conflicting types for 'BOOL' /tmp/gcc-4.5/libobjc/objc/objc.h:42:24: note: previous declaration of 'BOOL' was here Hmm, looks like the order of include files coul

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-04 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2009-12-05 00:51 --- Created an attachment (id=19232) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19232&action=view) Compiler error messages -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42293