[Bug target/54160] [4.6/4.7/4.8 Regression] gcc should not define __OBJC2__ when lang is not set to ObjC (gcc 4.6 and later)
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 5 21:10:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54160
--- Comment #5 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2012-12-05 21:10:25 UTC ---
Author: aldyh
Date: Wed Dec 5 21:10:18 2012
New Revision: 194227
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194227
Log:
PR target/54160
* config/t-darwin (darwin-c.o): Depend on $(CPP_INTERNAL_H).
* config/darwin-c.c (darwin_cpp_builtins): Only set __OBJC2__
when in obj mode.
Include libcpp/internal.h.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/darwin-c.c
trunk/gcc/config/t-darwin
More information about the Gcc-bugs
mailing list