diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cpplex.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f11338b..ed25fd3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,6 @@ 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - * cpplex.c (is_macro_disabled): Use CPP_TRADITIONAL. + * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL. * c-decl.c (set_current_function_name_declared, anon_aggr_type_p, lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED. diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 58262ee..2cadad0 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -2069,7 +2069,7 @@ is_macro_disabled (pfile, expansion, token) if (next->type != CPP_OPEN_PAREN) { _cpp_push_token (pfile, next); - if (CPP_TRADITIONAL (pfile)) + if (CPP_WTRADITIONAL (pfile)) cpp_warning (pfile, "function macro %.*s must be used with arguments in traditional C", (int) token->val.node->length, token->val.node->name); |