From 59a09598caf555ebf3bb0e7775a9140ef7187a9e Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 23 Nov 2010 09:47:07 +0000 Subject: In gcc/objc/: 2010-11-23 Nicola Pero In gcc/objc/: 2010-11-23 Nicola Pero PR objc/24358 * lang-specs.h: Added objective-c-cpp-output. Mapped .mi to objective-c-cpp-output instead of objc-cpp-output. Print a deprecation note every time objc-cpp-output is requested. In gcc/objcp/: 2010-11-23 Nicola Pero PR objc/24358 * lang-specs.h: Print a deprecation note every time objc++-cpp-output is requested. From-SVN: r167073 --- gcc/objc/lang-specs.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'gcc/objc/lang-specs.h') diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h index 62ffb99..f6a8f38 100644 --- a/gcc/objc/lang-specs.h +++ b/gcc/objc/lang-specs.h @@ -19,8 +19,8 @@ along with GCC; see the file COPYING3. If not see . */ -/* This is the contribution to the `default_compilers' array in gcc.c for - objc. */ +/* This is the contribution to the `default_compilers' array in gcc.c + for objc. */ {".m", "@objective-c", 0, 0, 0}, {"@objective-c", @@ -34,10 +34,6 @@ along with GCC; see the file COPYING3. If not see %{!save-temps:%{!no-integrated-cpp:\ cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}}\ %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, - {".mi", "@objc-cpp-output", 0, 0, 0}, - {"@objc-cpp-output", - "%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ - %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, {"@objective-c-header", "%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\ %(cpp_options) %(cpp_debug_options)}\ @@ -52,3 +48,11 @@ along with GCC; see the file COPYING3. If not see cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ -o %g.s %{!o*:--output-pch=%i.gch}\ %W{o*:--output-pch=%*}%V}}}}}", 0, 0, 0}, + {".mi", "@objective-c-cpp-output", 0, 0, 0}, + {"@objective-c-cpp-output", + "%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ + %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, + {"@objc-cpp-output", + "%nobjc-cpp-output is deprecated; please use objective-c-cpp-output instead\n\ + %{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ + %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, -- cgit v1.1