Home
last modified time | relevance | path

Searched refs:pedwarn (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-10-stable/contrib/gcc/
Dc-decl.c824 pedwarn ("inline function %q+D declared but never defined", p); in pop_scope()
1271 pedwarn ("conflicting types for %q+D", newdecl); in diagnose_mismatched_decls()
1284 pedwarn ("conflicting types for %q+D", newdecl); in diagnose_mismatched_decls()
1633 locate_old_decl (olddecl, pedwarned ? pedwarn : warning0); in diagnose_mismatched_decls()
2972 pedwarn ("unnamed struct/union that defines no instances"); in shadow_tag_warned()
2980 pedwarn ("empty declaration with storage class specifier " in shadow_tag_warned()
2991 pedwarn ("empty declaration with type qualifier " in shadow_tag_warned()
3012 pedwarn ("useless type name in empty declaration"); in shadow_tag_warned()
3019 pedwarn ("useless type name in empty declaration"); in shadow_tag_warned()
3066 pedwarn ("empty declaration"); in shadow_tag_warned()
[all …]
Dc-typeck.c479 pedwarn ("function types not truly compatible in ISO C"); in composite_type()
504 pedwarn ("function types not truly compatible in ISO C"); in composite_type()
980 pedwarn ("types are not quite compatible"); in comp_target_types()
1298 pedwarn ("function return types not compatible due to %<volatile%>"); in function_types_compatible_p()
2062 pedwarn ("ISO C forbids subscripting %<register%> array"); in build_array_ref()
2064 pedwarn ("ISO C90 forbids subscripting non-lvalue array"); in build_array_ref()
2238 pedwarn ("%H%qD is static but used in inline function %qD " in build_external_ref()
2813 pedwarn ("pointer of type %<void *%> used in subtraction"); in pointer_diff()
2815 pedwarn ("pointer to a function used in subtraction"); in pointer_diff()
2952 pedwarn ("ISO C does not support %<~%> for complex conjugation"); in build_unary_op()
[all …]
Dtoplev.h65 extern void pedwarn (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
Dc-parser.c1162 pedwarn ("ISO C forbids an empty source file"); in c_parser_translation_unit()
1255 pedwarn ("ISO C does not allow extra %<;%> outside of a function"); in c_parser_external_declaration()
1370 pedwarn ("empty declaration"); in c_parser_declaration_or_fndef()
1431 pedwarn ("data definition has no type or storage class"); 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()
1943 pedwarn ("ISO C forbids forward references to %<enum%> types"); 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()
2183 pedwarn ("ISO C forbids member declarations with no members"); in c_parser_struct_declaration()
[all …]
Dc-lex.c620 pedwarn ("integer constant is too large for %qs type", in interpret_integer()
695 pedwarn ("floating constant exceeds range of %qT", type); in interpret_float()
Dc-common.c851 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()
Ddiagnostic.c518 pedwarn (const char *gmsgid, ...) in pedwarn() function
/freebsd-10-stable/contrib/gcc/cp/
Ddecl.c1072 pedwarn ("%qD was declared %<extern%> and later %<static%>", newdecl); in warn_extern_redeclared_static()
1073 pedwarn ("previous declaration of %q+D", olddecl); in warn_extern_redeclared_static()
1535 pedwarn ("default argument given for parameter %d of %q#D", in duplicate_decls()
1537 pedwarn ("after previous specification in %q+#D", olddecl); in duplicate_decls()
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()
2390 pedwarn (" enters scope of non-POD %q+#D", new_decls); in check_previous_goto_1()
2486 pedwarn ("jump to label %q+D", decl); in check_goto()
2487 pedwarn (" from here"); in check_goto()
[all …]
Dtypeck.c438 pedwarn ("%s between distinct pointer types %qT and %qT " in composite_pointer_type_r()
452 pedwarn ("%s between distinct pointer types %qT and %qT " in composite_pointer_type_r()
519 pedwarn ("ISO C++ forbids %s between pointer of type %<void *%> " in composite_pointer_type()
1285 pedwarn ("invalid application of %qs to a member function", in cxx_sizeof_or_alignof_type()
1340 pedwarn ("ISO C++ forbids applying %<sizeof%> to an expression of " in cxx_sizeof_expr()
1391 pedwarn ("ISO C++ forbids applying %<__alignof%> to an expression of " in cxx_alignof_expr()
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()
2772 pedwarn ("ISO C++ forbids calling %<::main%> from within program"); in build_function_call()
[all …]
Dcvt.c430 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()
Dtypeck2.c82 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()
Dfriend.c257 pedwarn ("class %qT is implicitly friends with itself", in make_friend_class()
Ddecl2.c726 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()
DChangeLog-199761 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.
2047 * pt.c (process_template_parm): pedwarn about floating-point parms.
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
[all …]
Dinit.c387 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()
Dlex.c641 pedwarn ("there are no arguments to %qD that depend on a template " in unqualified_fn_lookup_error()
DChangeLog-1994926 * typeck2.c (store_init_value): Don't pedwarn about non-constant
1222 (build_conditional_expr): If pedantic, pedwarn about conversion to
1242 to pedwarn.
1771 * decl.c (grokdeclarator): pedwarn about a typedef that specifies no
2107 (grokdeclarator): pedwarn about initializing non-const or
2118 of main() to a pedwarn.
2225 a pedwarn.
2231 instances a pedwarn.
2235 * typeck.c (build_modify_expr): pedwarn about using a non-lvalue
2353 * init.c (build_delete): pedwarn about using plain delete to delete
[all …]
Dpt.c659 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()
11709 pedwarn ("explicit instantiation of non-template %q#D", result); in do_decl_instantiation()
11718 pedwarn ("ISO C++ forbids the use of %<extern%> on explicit " in do_decl_instantiation()
[all …]
Dname-lookup.c707 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()
Dexcept.c993 pedwarn ("%H%<...%> handler must be the last handler for" in check_handlers()
Dcall.c3217 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()
Dparser.c2091 pedwarn ("ISO C++ does not support %<long long%>"); in cp_parser_check_decl_spec()
3198 pedwarn ("ISO C++ forbids braced-groups within expressions"); in cp_parser_primary_expression()
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()
8526 pedwarn ("anachronistic old-style base class initializer"); in cp_parser_mem_initializer()
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()
[all …]
Dclass.c2496 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()
DChangeLog-1993529 * cp-decl.c (grok_op_properties): Allow operator?: with pedwarn
575 (comp_target_parms): pedwarn on conversion from (anything) to (...).
DChangeLog-19951043 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.

12