lex.c
122 KB
-
Kill strict_prototype. · 8b27e9ef
Kill strict_prototype. Backwards compatibility only for non NO_IMPLICIT_EXTERN_C systems. * cp-tree.h (flag_strict_prototype): Remove. (strict_prototype): Remove. (strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove. * decl.c (maybe_push_to_top_level): Adjust. (pop_from_top_level): Adjust. (decls_match): Only allow sloppy parm matching for ancient system headers. (init_decl_processing): Adjust. (grokdeclarator): Adjust. * decl2.c (flag_strict_prototype): Remove. (strict_prototype): Remove. (strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove. (lang_f_options): Remove "strict-prototype". (unsupported-options): Add "strict-prototype". * lex.c (do_identifier): Adjust. (do_scoped_id): Adjust. * parse.y (empty_parms): Adjust. * class.c (push_lang_context): Adjust. (pop_lang_context): Adjust. * typeck.c (comp_target_parms): Adjust. From-SVN: r35254
Nathan Sidwell committed