| /freebsd-12.1/contrib/gcc/ |
| H A D | c-decl.c | 3066 pedwarn ("empty declaration"); in shadow_tag_warned() 4566 pedwarn ("duplicate %<const%>"); in grokdeclarator() 4568 pedwarn ("duplicate %<restrict%>"); in grokdeclarator() 4570 pedwarn ("duplicate %<volatile%>"); in grokdeclarator() 6077 pedwarn ("union has no named members"); in finish_struct() 6079 pedwarn ("union has no members"); in finish_struct() 6084 pedwarn ("struct has no named members"); in finish_struct() 6086 pedwarn ("struct has no members"); in finish_struct() 7112 pedwarn ("promoted argument %qD " in store_parm_decls_oldstyle() 7114 pedwarn ("%Hprototype declaration", in store_parm_decls_oldstyle() [all …]
|
| H A D | c-typeck.c | 980 pedwarn ("types are not quite compatible"); in comp_target_types() 3074 pedwarn ("wrong type argument to increment"); in build_unary_op() 3076 pedwarn ("wrong type argument to decrement"); in build_unary_op() 3646 pedwarn ("ISO C forbids casts to union type"); in build_c_cast() 4119 pedwarn (AR, parmnum, rname); \ in convert_for_assignment() 4125 pedwarn (AS); \ in convert_for_assignment() 4128 pedwarn (IN); \ in convert_for_assignment() 4131 pedwarn (RE); \ in convert_for_assignment() 4863 pedwarn ("%s", _(msgid)); in pedwarn_init() 7338 pedwarn ("ISO C forbids %<goto *expr;%>"); in c_finish_goto_ptr() [all …]
|
| H A D | toplev.h | 65 extern void pedwarn (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
|
| H A D | c-parser.c | 1162 pedwarn ("ISO C forbids an empty source file"); in c_parser_translation_unit() 1370 pedwarn ("empty declaration"); in c_parser_declaration_or_fndef() 1517 pedwarn ("ISO C forbids nested functions"); in c_parser_declaration_or_fndef() 1914 pedwarn ("comma at end of enumerator list"); in c_parser_enum_specifier() 2065 pedwarn ("extra semicolon in struct or union specified"); in c_parser_struct_or_union_specifier() 2093 pedwarn ("no semicolon at end of struct or union"); in c_parser_struct_or_union_specifier() 3256 pedwarn ("ISO C forbids empty initializer braces"); in c_parser_braced_init() 3424 pedwarn ("ISO C forbids specifying range of " in c_parser_initelt() 3445 pedwarn ("obsolete use of designated initializer " in c_parser_initelt() 3601 pedwarn ("ISO C forbids label declarations"); in c_parser_compound_statement_nostart() [all …]
|
| H A D | c-lex.c | 620 pedwarn ("integer constant is too large for %qs type", in interpret_integer() 695 pedwarn ("floating constant exceeds range of %qT", type); in interpret_float()
|
| H A D | c-common.c | 851 pedwarn ("%qD is not defined outside of function scope", decl); in fname_decl() 883 pedwarn ("string length %qd is greater than the length %qd " in fix_string_type() 932 pedwarn ("overflow in constant expression"); in constant_expression_warning() 2455 pedwarn ("pointer of type %<void *%> used in arithmetic"); in pointer_int_sum() 2461 pedwarn ("pointer to a function used in arithmetic"); in pointer_int_sum() 2467 pedwarn ("pointer to member function used in arithmetic"); in pointer_int_sum() 3000 pedwarn ("invalid application of %<sizeof%> to a function type"); in c_sizeof_or_alignof_type() 3010 pedwarn ("invalid application of %qs to a void type", op_name); in c_sizeof_or_alignof_type() 3758 pedwarn ("range expressions in switch statements are non-standard"); in c_add_case_label() 4052 pedwarn ("taking the address of a label is non-standard"); in finish_label_address_expr()
|
| H A D | diagnostic.c | 518 pedwarn (const char *gmsgid, ...) in pedwarn() function
|
| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | decl.c | 2344 pedwarn ("jump to label %qD", decl); in identify_goto() 2346 pedwarn ("jump to case label"); in identify_goto() 2348 pedwarn ("%H from here", locus); in identify_goto() 2486 pedwarn ("jump to label %q+D", decl); in check_goto() 2487 pedwarn (" from here"); in check_goto() 2505 pedwarn (" enters scope of non-POD %q+#D", b); in check_goto() 2526 pedwarn ("jump to label %q+D", decl); in check_goto() 2527 pedwarn (" from here"); in check_goto() 2579 pedwarn ("label named wchar_t"); in define_label() 3723 pedwarn ("ISO C++ prohibits anonymous structs"); in check_tag_decl() [all …]
|
| H A D | typeck.c | 452 pedwarn ("%s between distinct pointer types %qT and %qT " in composite_pointer_type_r() 1285 pedwarn ("invalid application of %qs to a member function", in cxx_sizeof_or_alignof_type() 2086 pedwarn ("%qD is not a template", decl); in check_template_keyword() 2106 pedwarn ("%qD is not a template", decl); in check_template_keyword() 2517 pedwarn ("ISO C++ forbids subscripting non-lvalue array"); in build_array_ref() 4288 pedwarn ("ISO C++ forbids %sing an enum", in build_unary_op() 4330 pedwarn ("cast to non-reference type used as lvalue"); in build_unary_op() 5231 pedwarn ("converting from %qT to %qT", intype, type); in convert_member_func_to_ptr() 5338 pedwarn ("cast from %qT to %qT loses precision", in build_reinterpret_cast_1() 5351 pedwarn ("cast from %qT to %qT loses precision", in build_reinterpret_cast_1() [all …]
|
| H A D | cvt.c | 430 pedwarn (msg, reftype, intype); in warn_ref_binding() 500 pedwarn ("conversion from %qT to %qT discards qualifiers", in convert_to_reference() 681 pedwarn ("conversion from %q#T to %q#T", intype, type); in ocp_convert() 925 pedwarn ("%s cannot resolve address of overloaded function", in convert_to_void()
|
| H A D | typeck2.c | 82 fn = pedwarn; in readonly_error() 356 p_msg = pedwarn; in cxx_incomplete_type_diagnostic() 706 pedwarn ("initializer-string for array of chars is too long"); in digest_init()
|
| H A D | friend.c | 257 pedwarn ("class %qT is implicitly friends with itself", in make_friend_class()
|
| H A D | decl2.c | 726 pedwarn ("local class %q#T shall not have static data member %q#D", in finish_static_data_member_decl() 1037 pedwarn ("%q+#D invalid; an anonymous union can only " in build_anon_union_vars() 1043 pedwarn ("private member %q+#D in anonymous union", field); in build_anon_union_vars() 1045 pedwarn ("protected member %q+#D in anonymous union", field); in build_anon_union_vars() 1162 pedwarn ("%<operator new%> takes type %<size_t%> (%qT) " in coerce_new_type()
|
| H A D | ChangeLog-1997 | 61 definition" pedwarn. 494 * decl.c (grokdeclarator): Tweak conditions for pedwarn in 664 * parse.y (unary_expr): Give a pedwarn if someone tries to use the 992 pedwarn. 1740 * parse.y (typespec): Don't pedwarn for typeof. 2305 * typeck.c (build_modify_expr): Always pedwarn for a cast to 2369 * decl.c (duplicate_decls): Next route, pedwarn about different 2421 * decl.c (duplicate_decls): Give pedwarn of different exceptions 2446 * decl.c (duplicate_decls): On second thought, do it as a pedwarn 2454 * decl.c (duplicate_decls): pedwarn mismatched exception [all …]
|
| H A D | init.c | 387 pedwarn ("%Juninitialized reference member %qD", in perform_member_init() 390 pedwarn ("%Juninitialized member %qD with %<const%> type %qT", in perform_member_init() 1904 pedwarn ("ISO C++ forbids initialization in array new"); in build_new_1() 2103 pedwarn ("size in array new must have integral type"); in build_new()
|
| H A D | ChangeLog-1994 | 1242 to pedwarn. 2107 (grokdeclarator): pedwarn about initializing non-const or 2118 of main() to a pedwarn. 2225 a pedwarn. 2231 instances a pedwarn. 3334 mismatch, and don't pedwarn on 0/function pointer mismatch. 3749 * init.c (build_new): pedwarn about newing const and volatile 3921 * decl2.c (grokfield): Don't pedwarn twice about initializing 3945 (pedantic) pedwarn'. 3991 * typeck.c (convert_for_assignment): Don't pedwarn about [all …]
|
| H A D | lex.c | 641 pedwarn ("there are no arguments to %qD that depend on a template " in unqualified_fn_lookup_error()
|
| H A D | pt.c | 659 pedwarn ("specialization of %qD in different namespace", tmpl); in check_specialization_namespace() 660 pedwarn (" from definition of %q+#D", tmpl); in check_specialization_namespace() 677 pedwarn ("explicit instantiation of %qD in namespace %qD " in check_explicit_instantiation_namespace() 756 pedwarn ("specializing %q#T in different namespace", type); in maybe_process_partial_specialization() 757 pedwarn (" from definition of %q+#D", in maybe_process_partial_specialization() 1945 pedwarn in check_explicit_specialization() 3998 pedwarn ("to refer to a type member of a template parameter, " in convert_template_argument() 11696 pedwarn ("duplicate explicit instantiation of %q#D", result); in do_decl_instantiation() 11718 pedwarn ("ISO C++ forbids the use of %<extern%> on explicit " in do_decl_instantiation() 11850 pedwarn ("duplicate explicit instantiation of %q#T", t); in do_type_instantiation() [all …]
|
| H A D | name-lookup.c | 707 pedwarn ("redeclaration of %<wchar_t%> as %qT", in pushdecl_maybe_friend() 829 pedwarn ("type mismatch with previous external decl of %q#D", x); in pushdecl_maybe_friend() 830 pedwarn ("previous external decl of %q+#D", decl); in pushdecl_maybe_friend() 1156 pedwarn ("name lookup of %qD changed for new ISO %<for%> scoping", in check_for_out_of_scope_variable() 1158 pedwarn (" using obsolete binding at %q+D", decl); in check_for_out_of_scope_variable()
|
| H A D | except.c | 993 pedwarn ("%H%<...%> handler must be the last handler for" in check_handlers()
|
| H A D | call.c | 3217 pedwarn ("ISO C++ forbids omitting the middle term of a ?: expression"); in build_conditional_expr() 3820 pedwarn ("no %<%D(int)%> declared for postfix %qs, " in build_new_op() 4277 pedwarn ("invalid conversion from %qT to %qT", TREE_TYPE (expr), totype); in convert_like_real() 4279 pedwarn (" initializing argument %P of %qD", argnum, fn); in convert_like_real() 4877 pedwarn ("passing %qT as %<this%> argument of %q#D discards qualifiers", in build_over_call() 6357 pedwarn ("\ in joust()
|
| H A D | parser.c | 2091 pedwarn ("ISO C++ does not support %<long long%>"); in cp_parser_check_decl_spec() 4090 pedwarn (TYPE_P (new_scope) in cp_parser_nested_name_specifier_opt() 4481 pedwarn ("ISO C++ forbids compound-literals"); in cp_parser_postfix_expression() 7391 pedwarn ("ISO C++ forbids computed gotos"); in cp_parser_jump_statement() 7532 pedwarn ("extra %<;%>"); in cp_parser_declaration_seq_opt() 9308 pedwarn ("%<<::%> cannot begin a template-argument list"); in cp_parser_template_id() 10588 pedwarn ("using %<typename%> outside of template"); in cp_parser_elaborated_type_specifier() 10945 pedwarn ("comma at end of enumerator list"); in cp_parser_enumerator_list() 13991 pedwarn ("extra qualification ignored"); in cp_parser_class_head() 14330 pedwarn ("%Hextra %<;%>", &token->location); in cp_parser_member_declaration() [all …]
|
| H A D | class.c | 2496 pedwarn ("%q+#D invalid; an anonymous union can " in finish_struct_anon() 2502 pedwarn ("private member %q+#D in anonymous union", elt); in finish_struct_anon() 2504 pedwarn ("protected member %q+#D in anonymous union", elt); in finish_struct_anon() 3042 pedwarn ("field %q+#D with same name as class", x); in check_field_decls() 5998 pedwarn ("assuming pointer to member %qD", fn); in resolve_address_of_overloaded_function() 6001 pedwarn ("(a pointer to member can only be formed with %<&%E%>)", fn); in resolve_address_of_overloaded_function()
|
| H A D | ChangeLog-1993 | 529 * cp-decl.c (grok_op_properties): Allow operator?: with pedwarn 575 (comp_target_parms): pedwarn on conversion from (anything) to (...).
|
| H A D | ChangeLog-1995 | 1043 to pedwarn. 1687 * decl.c (warn_extern_redeclared_static): This is a pedwarn. 2493 (grokdeclarator): Only pedwarn about extra qualification if -pedantic. 2819 * init.c (make_friend_class): Move up to a pedwarn for the warning 2831 * decl.c (start_function): Do a pedwarn if we're changing `main' 2865 comparing distinct pointer types to pedwarn. 3506 * decl.c (grokdeclarator): Upgrade warning about &const to pedwarn. 3538 being too large from pedwarn to warning. 3580 pedwarn to warning.
|