summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-07 22:24:30 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-07 22:24:30 +0000
commit6d1f11f39ef0660d5f91abf0f2c97493ccbe2b17 (patch)
tree7a1bf70d67c5edb93d24792709314b561db24b09 /gcc/c-decl.c
parente90720ad0d807882a0a149738f09c138b2bbe5d6 (diff)
downloadppe42-gcc-6d1f11f39ef0660d5f91abf0f2c97493ccbe2b17.tar.gz
ppe42-gcc-6d1f11f39ef0660d5f91abf0f2c97493ccbe2b17.zip
* cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W
options their own entries. (parse_option): Clarify comment. (cpp_handle_option): Remove 'ignore' parameter and OPT_W special case. Replace if/strcmp chain for -W options with use of new OPT_* entries for them. (cpp_handle_options): Update to match. * cpplib.h: Remove last parameter to cpp_handle_option from prototype. * c-decl.c, cp/decl2.c: Update call to cpp_handle_option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54352 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 6c16801e4e2..819e26e9596 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -502,7 +502,7 @@ c_decode_option (argc, argv)
{ "write-strings", &flag_const_strings }
};
- strings_processed = cpp_handle_option (parse_in, argc, argv, 0);
+ strings_processed = cpp_handle_option (parse_in, argc, argv);
if (!strcmp (p, "-fhosted") || !strcmp (p, "-fno-freestanding"))
{
OpenPOWER on IntegriCloud