Home
last modified time | relevance | path

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

1234

/openbsd/gnu/gcc/gcc/
H A Dc-decl.c3012 pedwarn ("empty declaration"); in shadow_tag_warned()
4030 pedwarn ("duplicate %<const%>"); in grokdeclarator()
4032 pedwarn ("duplicate %<restrict%>"); in grokdeclarator()
4034 pedwarn ("duplicate %<volatile%>"); in grokdeclarator()
5485 pedwarn ("union has no named members"); in finish_struct()
5487 pedwarn ("union has no members"); in finish_struct()
5492 pedwarn ("struct has no named members"); in finish_struct()
5494 pedwarn ("struct has no members"); in finish_struct()
6541 pedwarn ("promoted argument %qD " in store_parm_decls_oldstyle()
6543 pedwarn ("%Hprototype declaration", in store_parm_decls_oldstyle()
[all …]
H A Dc-typeck.c951 pedwarn ("types are not quite compatible"); in comp_target_types()
2982 pedwarn ("wrong type argument to increment"); in build_unary_op()
2984 pedwarn ("wrong type argument to decrement"); in build_unary_op()
3517 pedwarn ("ISO C forbids casts to union type"); in build_c_cast()
3831 pedwarn (AR, parmnum, rname); \ in convert_for_assignment()
3837 pedwarn (AS); \ in convert_for_assignment()
3840 pedwarn (IN); \ in convert_for_assignment()
3843 pedwarn (RE); \ in convert_for_assignment()
4535 pedwarn ("%s", _(msgid)); in pedwarn_init()
7002 pedwarn ("ISO C forbids %<goto *expr;%>"); in c_finish_goto_ptr()
[all …]
H A Dc-parser.c1088 pedwarn ("ISO C forbids an empty source file"); in c_parser_translation_unit()
1286 pedwarn ("empty declaration"); in c_parser_declaration_or_fndef()
1392 pedwarn ("ISO C forbids nested functions"); in c_parser_declaration_or_fndef()
1766 pedwarn ("comma at end of enumerator list"); in c_parser_enum_specifier()
1917 pedwarn ("extra semicolon in struct or union specified"); in c_parser_struct_or_union_specifier()
1945 pedwarn ("no semicolon at end of struct or union"); in c_parser_struct_or_union_specifier()
3078 pedwarn ("ISO C forbids empty initializer braces"); in c_parser_braced_init()
3246 pedwarn ("ISO C forbids specifying range of " in c_parser_initelt()
3267 pedwarn ("obsolete use of designated initializer " in c_parser_initelt()
3421 pedwarn ("ISO C forbids label declarations"); in c_parser_compound_statement_nostart()
[all …]
H A Dtoplev.h65 extern void pedwarn (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
H A 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()
H A Dc-common.c837 pedwarn ("%qD is not defined outside of function scope", decl); in fname_decl()
869 pedwarn ("string length %qd is greater than the length %qd " in fix_string_type()
918 pedwarn ("overflow in constant expression"); in constant_expression_warning()
2375 pedwarn ("pointer of type %<void *%> used in arithmetic"); in pointer_int_sum()
2381 pedwarn ("pointer to a function used in arithmetic"); in pointer_int_sum()
2387 pedwarn ("pointer to member function used in arithmetic"); in pointer_int_sum()
2916 pedwarn ("invalid application of %<sizeof%> to a function type"); in c_sizeof_or_alignof_type()
2926 pedwarn ("invalid application of %qs to a void type", op_name); in c_sizeof_or_alignof_type()
3664 pedwarn ("range expressions in switch statements are non-standard"); in c_add_case_label()
3958 pedwarn ("taking the address of a label is non-standard"); in finish_label_address_expr()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dc-decl.c1619 pedwarn ("declaration of `%s' shadows a parameter",
2710 pedwarn ("empty declaration");
3850 pedwarn ("duplicate `const'");
3852 pedwarn ("duplicate `restrict'");
3854 pedwarn ("duplicate `volatile'");
3892 pedwarn ("function definition declared `auto'");
4316 pedwarn ("duplicate `const'");
4318 pedwarn ("duplicate `volatile'");
4320 pedwarn ("duplicate `restrict'");
5169 pedwarn ("%s defined inside parms",
[all …]
H A Dc-typeck.c603 pedwarn ("types are not quite compatible");
2199 pedwarn ("comparison between pointer and integer");
2204 pedwarn ("comparison between pointer and integer");
2273 pedwarn ("comparison between pointer and integer");
2278 pedwarn ("comparison between pointer and integer");
2639 pedwarn ("pointer to a function used in subtraction");
2897 pedwarn ("wrong type argument to increment");
2899 pedwarn ("wrong type argument to decrement");
3668 pedwarn ("ISO C forbids casts to union type");
4388 pedwarn (msgid, opname);
[all …]
H A Dc-parse.in357 pedwarn ("ISO C forbids an empty source file");
673 pedwarn ("ISO C89 forbids compound literals");
826 pedwarn ("empty declaration"); }
828 { pedwarn ("empty declaration"); }
1581 pedwarn ("ISO C forbids nested functions");
1612 pedwarn ("ISO C forbids nested functions");
1805 pedwarn ("comma at end of enumerator list"); }
1813 pedwarn ("no semicolon at end of struct or union"); }
2119 pedwarn ("ISO C forbids label declarations"); }
2418 pedwarn ("ISO C forbids `goto *expr;'");
[all …]
H A Dtoplev.h61 extern void pedwarn PARAMS ((const char *, ...));
H A Dc-common.c1353 pedwarn ("overflow in constant expression");
2651 pedwarn ("pointer of type `void *' used in arithmetic");
2657 pedwarn ("pointer to a function used in arithmetic");
2663 pedwarn ("pointer to member function used in arithmetic");
2669 pedwarn ("pointer to a member used in arithmetic");
3075 pedwarn ("invalid application of `sizeof' to a function type");
3085 pedwarn ("invalid application of `%s' to a void type", op_name);
4106 pedwarn ("ISO C++ forbids range expressions in switch statements");
4108 pedwarn ("ISO C forbids range expressions in switch statements");
4229 pedwarn ("ISO C++ forbids taking the address of a label");
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dtypeck2.c86 fn = pedwarn;
212 p_msg = pedwarn;
469 pedwarn ("initializer list being treated as compound expression");
613 pedwarn ("initializer-string for array of chars is too long");
638 pedwarn ("braces around scalar initializer for `%T'", type);
641 pedwarn ("ignoring extra initializers for `%T'", type);
1026 pedwarn ("excess elements in aggregate initializer");
1310 pedwarn ("initializer list being treated as compound expression");
1361 pedwarn ("ISO C++ forbids defining types within %s", string);
H A Dtypeck.c1436 pedwarn ("ISO C++ prohibits conversion from `%#T' to `(...)'",
2474 pedwarn ("ISO C++ forbids subscripting non-lvalue array");
2674 pedwarn ("ISO C++ forbids calling `::main' from within program");
3059 pedwarn ("assuming cast to type `%T' from overloaded function",
3069 pedwarn ("assuming cast to type `%T' from overloaded function",
4094 pedwarn ("ISO C++ forbids %sing an enum",
4113 pedwarn ("ISO C++ forbids %sing a pointer of type `%T'",
4138 pedwarn ("cast to non-reference type used as lvalue");
4205 pedwarn ("ISO C++ forbids taking address of function `::main'");
4933 pedwarn ("reinterpret_cast from `%T' to `%T' loses precision",
[all …]
H A Ddecl.c3288 pedwarn (IDENTIFIER_IMPLICIT_DECL (name)
5295 pedwarn ("jump to label `%D'", decl);
5297 pedwarn ("jump to case label");
5319 pedwarn ("jump to label `%D'", decl);
5321 pedwarn ("jump to case label");
5413 pedwarn (" from here");
5462 pedwarn ("label named wchar_t");
6634 pedwarn ("\
11771 pedwarn ("duplicate `const'");
11773 pedwarn ("duplicate `volatile'");
[all …]
H A Dcvt.c126 pedwarn ("converting from `%T' to `%T'", TREE_TYPE (expr),
427 pedwarn (msg, reftype, intype);
504 pedwarn ("conversion from `%T' to `%T' discards qualifiers",
683 pedwarn ("conversion from `%#T' to `%#T'", intype, type);
904 pedwarn ("%s cannot resolve address of overloaded function",
H A Dparse.y262 pedwarn ("`%s' tag used in naming `%#T'",
766 { pedwarn ("empty declaration"); }
984 pedwarn ("anachronistic old style base class initializer");
1117 pedwarn ("`>>' should be `> >' in template class name");
1351 { pedwarn ("old style placement syntax, use () instead");
1395 pedwarn ("ISO C++ forbids compound literals");
1642 pedwarn ("ISO C++ forbids braced-groups within expressions");
2339 pedwarn ("using `typename' outside of template"); }
2411 pedwarn ("comma at end of enumerator list"); }
3377 pedwarn ("ISO C++ forbids label declarations"); }
[all …]
H A Dfriend.c231 pedwarn ("class `%T' is implicitly friends with itself",
H A Dinit.c394 pedwarn ("uninitialized reference member `%D'", member); in perform_member_init()
396 pedwarn ("uninitialized member '%D' with 'const' type '%T'", in perform_member_init()
1965 pedwarn ("size in array new must have integral type");
2379 pedwarn ("ISO C++ forbids initialization in array new");
2400 pedwarn
2407 pedwarn ("ISO C++ forbids aggregate initializer to new");
/openbsd/gnu/gcc/gcc/cp/
H A Dtypeck.c436 pedwarn ("%s between distinct pointer types %qT and %qT " in composite_pointer_type_r()
450 pedwarn ("%s between distinct pointer types %qT and %qT " in composite_pointer_type_r()
1253 pedwarn ("invalid application of %qs to a member function", in cxx_sizeof_or_alignof_type()
2048 pedwarn ("%qD is not a template", decl); in check_template_keyword()
2068 pedwarn ("%qD is not a template", decl); in check_template_keyword()
2466 pedwarn ("ISO C++ forbids subscripting non-lvalue array"); in build_array_ref()
4155 pedwarn ("ISO C++ forbids %sing an enum", in build_unary_op()
4197 pedwarn ("cast to non-reference type used as lvalue"); in build_unary_op()
5098 pedwarn ("converting from %qT to %qT", intype, type); in convert_member_func_to_ptr()
5205 pedwarn ("cast from %qT to %qT loses precision", in build_reinterpret_cast_1()
[all …]
H A Ddecl.c2329 pedwarn ("jump to label %qD", decl); in identify_goto()
2331 pedwarn ("jump to case label"); in identify_goto()
2333 pedwarn ("%H from here", locus); in identify_goto()
2471 pedwarn ("jump to label %q+D", decl); in check_goto()
2472 pedwarn (" from here"); in check_goto()
2490 pedwarn (" enters scope of non-POD %q+#D", b); in check_goto()
2511 pedwarn ("jump to label %q+D", decl); in check_goto()
2512 pedwarn (" from here"); in check_goto()
2564 pedwarn ("label named wchar_t"); in define_label()
3711 pedwarn ("ISO C++ prohibits anonymous structs"); in check_tag_decl()
[all …]
H A 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()
H A 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()
H A Dfriend.c257 pedwarn ("class %qT is implicitly friends with itself", in make_friend_class()
H A 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()
/openbsd/gnu/gcc/gcc/treelang/
H A Dtreetree.c817 pedwarn ("Register variable %qD used in nested function.", x); in tree_mark_addressable()
828 pedwarn ("Address of register variable %qD requested.", x); in tree_mark_addressable()

1234