http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45878
--- Comment #14 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-13 18:37:55 UTC --- Hm, where are objc headers in a build tree? I can't seem to compile the original testcase: /obj/trunk-g/gcc$ ./xgcc -B. -S gimple_call.m gimple_call.m:1:22: fatal error: objc/objc.h: No such file or directory compilation terminated. but on objc/objc.h in gcc/objc/ or i686-pc-linux/libobjc/ Can you provide "preprocessed" source? The testcase in comment #2 seems to work for me: /obj/trunk-g/gcc$ ./xgcc -B. -S t.m t.m: In function '+[myRootObject class]': t.m:18:17: warning: return makes pointer from integer without a cast t.m: In function '+[myRootObject alloc]': t.m:19:16: warning: return makes pointer from integer without a cast
