]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/ChangeLog
re PR other/1502 (Nonexistent -W options not diagnosed)
authorJakub Jelinek <jakub@redhat.com>
Tue, 29 Jan 2002 12:09:37 +0000 (13:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Jan 2002 12:09:37 +0000 (13:09 +0100)
commitffdeea47b90c0c898219ac96df667012fe9fb739
tree1cb6969668582a88e15febb0d2435a1ddd4ca215
parentb8b98c66af69365e645718d3bf72ccabaa6ef2ab
re PR other/1502 (Nonexistent -W options not diagnosed)

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.

From-SVN: r49315
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/lang-specs.h
gcc/cppinit.c
gcc/cpplib.h
gcc/gcc.c
gcc/objc/lang-specs.h
This page took 0.066302 seconds and 5 git commands to generate.