diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-29 12:09:37 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-29 12:09:37 +0000 |
commit | a182c763a46274ab3896955e8628cd612cb85e93 (patch) | |
tree | 1cb6969668582a88e15febb0d2435a1ddd4ca215 /gcc/cp/lang-specs.h | |
parent | 581af848ad9bbb298ab10f264c7fd83f665aa1a9 (diff) | |
download | gcc-a182c763a46274ab3896955e8628cd612cb85e93.tar.gz |
PR other/1502:
* cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
don't ignore unrecognized -W* options.
(cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
* cpplib.h (cpp_handle_option): Adjust prototype.
* c-decl.c (c_decode_options): Pass 0 as last argument to
cpp_handle_option.
PR c/2896:
* gcc.c (cpp_unique_options): Split from cpp_options.
(cpp_options): Source cpp_unique_options.
(default_compilers): Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
(static_specs): Add cpp_unique_options.
* objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
* decl2.c (cxx_decode_option): Pass 0 as last argument to
cpp_handle_option.
* lang-specs.h: Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r-- | gcc/cp/lang-specs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 67a3ecbe3e8..e48bf7436f1 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -1,5 +1,5 @@ /* Definitions for specs for C++. - Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */ %{ansi:-D__STRICT_ANSI__ -trigraphs -$}\ %(cpp_options) %b.ii \n}\ cc1plus %{save-temps:-fpreprocessed %b.ii}\ - %{!save-temps:%(cpp_options)\ + %{!save-temps:%(cpp_unique_options)\ %{!no-gcc:-D__GNUG__=%v1} \ %{!Wno-deprecated:-D__DEPRECATED}\ %{!fno-exceptions:-D__EXCEPTIONS}\ |