diff options
author | Zack Weinberg <zackw@stanford.edu> | 2001-03-02 01:03:47 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-03-02 01:03:47 +0000 |
commit | f71434274cd0439bde0dbdfd1fc53e2f24dee485 (patch) | |
tree | 43f54cdf446fa1bfa1add9a724d589f75f644c16 /gcc/objc/lang-specs.h | |
parent | cb7738452f613d5f10acc3e816c48be679c67087 (diff) | |
download | gcc-f71434274cd0439bde0dbdfd1fc53e2f24dee485.zip gcc-f71434274cd0439bde0dbdfd1fc53e2f24dee485.tar.gz gcc-f71434274cd0439bde0dbdfd1fc53e2f24dee485.tar.bz2 |
gcc.c, [...]: Add zero initializer for cpp_spec field to all array elements.
* gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
objc/lang-specs.h: Add zero initializer for cpp_spec field to
all array elements.
* cp/lang-specs.h: Don't put an #ifdef inside the initializer
list; set a default for CPLUSPLUS_CPP_SPEC and use it.
From-SVN: r40173
Diffstat (limited to 'gcc/objc/lang-specs.h')
-rw-r--r-- | gcc/objc/lang-specs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h index e732d00..26f18f1 100644 --- a/gcc/objc/lang-specs.h +++ b/gcc/objc/lang-specs.h @@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */ /* This is the contribution to the `default_compilers' array in gcc.c for objc. */ - {".m", "@objective-c"}, + {".m", "@objective-c", 0}, {"@objective-c", /* cc1obj has an integrated ISO C preprocessor. We should invoke the external preprocessor if -save-temps or -traditional is given. */ @@ -36,8 +36,8 @@ Boston, MA 02111-1307, USA. */ cc1obj -fpreprocessed %{!pipe:%g.mi} %(cc1_options) %{gen-decls}}\ %{!traditional:%{!ftraditional:%{!traditional-cpp:\ cc1obj %{ansi:-std=c89} %(cpp_options) %(cc1_options) %{gen-decls}}}}}\ - %{!fsyntax-only:%(invoke_as)}}}}"}, - {".mi", "@objc-cpp-output"}, + %{!fsyntax-only:%(invoke_as)}}}}", 0}, + {".mi", "@objc-cpp-output", 0}, {"@objc-cpp-output", "%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{gen-decls}\ - %{!fsyntax-only:%(invoke_as)}}}}"}, + %{!fsyntax-only:%(invoke_as)}}}}", 0}, |