Commit 59a09598 by Nicola Pero Committed by Nicola Pero

In gcc/objc/: 2010-11-23 Nicola Pero <nicola.pero@meta-innovation.com>

In gcc/objc/:
2010-11-23  Nicola Pero  <nicola.pero@meta-innovation.com>

        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  <nicola.pero@meta-innovation.com>

        PR objc/24358
        * lang-specs.h: Print a deprecation note every time
        objc++-cpp-output is requested.

From-SVN: r167073
parent 8ea34dab
2010-11-23 Nicola Pero <nicola.pero@meta-innovation.com>
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.
2010-11-22 Joseph Myers <joseph@codesourcery.com> 2010-11-22 Joseph Myers <joseph@codesourcery.com>
* objc-act.c (write_symbols): Don't declare here. * objc-act.c (write_symbols): Don't declare here.
......
...@@ -19,8 +19,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -19,8 +19,8 @@ along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
/* This is the contribution to the `default_compilers' array in gcc.c for /* This is the contribution to the `default_compilers' array in gcc.c
objc. */ for objc. */
{".m", "@objective-c", 0, 0, 0}, {".m", "@objective-c", 0, 0, 0},
{"@objective-c", {"@objective-c",
...@@ -34,10 +34,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -34,10 +34,6 @@ along with GCC; see the file COPYING3. If not see
%{!save-temps:%{!no-integrated-cpp:\ %{!save-temps:%{!no-integrated-cpp:\
cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}}\ cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}}\
%{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, %{!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", {"@objective-c-header",
"%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\ "%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\
%(cpp_options) %(cpp_debug_options)}\ %(cpp_options) %(cpp_debug_options)}\
...@@ -52,3 +48,11 @@ along with GCC; see the file COPYING3. If not see ...@@ -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}\ cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\
-o %g.s %{!o*:--output-pch=%i.gch}\ -o %g.s %{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}%V}}}}}", 0, 0, 0}, %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},
2010-11-23 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/24358
* lang-specs.h: Print a deprecation note every time
objc++-cpp-output is requested.
2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
* objcp-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Do not define. * objcp-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Do not define.
......
...@@ -55,6 +55,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -55,6 +55,7 @@ along with GCC; see the file COPYING3. If not see
cc1objplus -fpreprocessed %i %(cc1_options) %2\ cc1objplus -fpreprocessed %i %(cc1_options) %2\
%{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
{"@objc++-cpp-output", {"@objc++-cpp-output",
"%{!M:%{!MM:%{!E:\ "%nobjc++-cpp-output is deprecated; please use objective-c++-cpp-output instead\n\
%{!M:%{!MM:%{!E:\
cc1objplus -fpreprocessed %i %(cc1_options) %2\ cc1objplus -fpreprocessed %i %(cc1_options) %2\
%{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment