Home
last modified time | relevance | path

Searched refs:warning (Results 1 – 25 of 1541) sorted by relevance

12345678910>>...62

/openbsd/gnu/usr.bin/gcc/gcc/testsuite/objc.dg/
H A Dcomp-types-4.m26 obj = j; /* { dg-warning "incompatible pointer type" } */
29 obj_p = j; /* { dg-warning "incompatible pointer type" } */
32 obj_c = j; /* { dg-warning "incompatible pointer type" } */
49 if (obj == j) ; /* { dg-warning "lacks a cast" } */
50 if (j == obj) ; /* { dg-warning "lacks a cast" } */
54 if (obj_c == j) ; /* { dg-warning "lacks a cast" } */
55 if (j == obj_c) ; /* { dg-warning "lacks a cast" } */
59 if (obj_p == j) ; /* { dg-warning "lacks a cast" } */
60 if (j == obj_p) ; /* { dg-warning "lacks a cast" } */
64 if (obj_C == j) ; /* { dg-warning "lacks a cast" } */
[all …]
H A Dcomp-types-1.m26 generate a warning. */
33 warning, unless done from an 'id'. */
49 a warning, unless done from an 'id' */
66 must generate a warning. */
69 if (obj_c == obj_cp) ; /* { dg-warning "lacks a cast" } */
70 if (obj_cp == obj_c) ; /* { dg-warning "lacks a cast" } */
71 if (obj_c == obj_C) ; /* { dg-warning "lacks a cast" } */
72 if (obj_C == obj_c) ; /* { dg-warning "lacks a cast" } */
80 if (obj_p == obj_C) ; /* { dg-warning "lacks a cast" } */
81 if (obj_C == obj_p) ; /* { dg-warning "lacks a cast" } */
[all …]
H A Dcomp-types-3.m28 obj_a = obj_b; /* { dg-warning "does not conform" } */
32 obj_b = obj_a; /* { dg-warning "does not conform" } */
34 obj_b = obj_ac; /* { dg-warning "does not conform" } */
36 obj_ab = obj_a; /* { dg-warning "does not conform" } */
37 obj_ab = obj_b; /* { dg-warning "does not conform" } */
38 obj_ab = obj_ac; /* { dg-warning "does not conform" } */
40 obj_ac = obj_a; /* { dg-warning "does not conform" } */
41 obj_ac = obj_b; /* { dg-warning "does not conform" } */
42 obj_ac = obj_ab; /* { dg-warning "does not conform" } */
44 if (obj_a == obj_b) ; /* { dg-warning "lacks a cast" } */
[all …]
/openbsd/gnu/usr.bin/perl/lib/
H A Ddiagnostics.t37 $warning = '';
43 $warning = '';
50 $warning = '';
55 $warning = '';
62 $warning = '';
68 $warning = '';
74 $warning = '';
80 $warning = '';
86 $warning = '';
92 $warning = '';
[all …]
/openbsd/regress/gnu/egcs/gcc-bounds/
H A Dbuiltins-1.c.exp.gcc42 builtins-1.c:12: warning: array size (100) smaller than bound length (200)
3 builtins-1.c:12: warning: array size (100) smaller than bound length (200)
4 builtins-1.c:13: warning: array size (50) smaller than bound length (100)
5 builtins-1.c:13: warning: array size (50) smaller than bound length (100)
6 builtins-1.c:14: warning: array size (50) smaller than bound length (105)
7 builtins-1.c:14: warning: array size (100) smaller than bound length (105)
8 builtins-1.c:14: warning: array size (50) smaller than bound length (105)
9 builtins-1.c:14: warning: array size (100) smaller than bound length (105)
10 builtins-1.c:15: warning: array size (100) smaller than bound length (500)
11 builtins-1.c:15: warning: array size (100) smaller than bound length (500)
[all …]
H A Dbuiltins-1.c.exp.gcc32 builtins-1.c:12: warning: array size (100) smaller than bound length (200)
3 builtins-1.c:13: warning: array size (50) smaller than bound length (100)
4 builtins-1.c:14: warning: array size (50) smaller than bound length (105)
5 builtins-1.c:14: warning: array size (100) smaller than bound length (105)
6 builtins-1.c:15: warning: array size (100) smaller than bound length (500)
7 builtins-1.c:16: warning: array size (50) smaller than bound length (1000)
8 builtins-1.c:17: warning: array size (50) smaller than bound length (1234)
9 builtins-1.c:18: warning: array size (100) smaller than bound length (5432)
10 builtins-1.c:19: warning: array size (100) smaller than bound length (2345)
11 builtins-1.c:20: warning: array size (100) smaller than required length (4 * 123)
/openbsd/gnu/usr.bin/perl/cpan/bignum/t/
H A Doption_l-bigfloat.t12 # Catch warning.
14 my $warning;
21 $warning = "";
27 is($warning, "", "didn't get a warning");
30 $warning = "";
36 is($warning, "", "didn't get a warning");
39 $warning = "";
45 is($warning, "", "didn't get a warning");
48 $warning = "";
54 is($warning, "", "didn't get a warning");
[all …]
H A Doption_l-bigint.t12 # Catch warning.
14 my $warning;
21 $warning = "";
27 is($warning, "", "didn't get a warning");
30 $warning = "";
36 is($warning, "", "didn't get a warning");
39 $warning = "";
45 is($warning, "", "didn't get a warning");
48 $warning = "";
54 is($warning, "", "didn't get a warning");
[all …]
H A Doption_l-bignum.t12 # Catch warning.
14 my $warning;
21 $warning = "";
27 is($warning, "", "didn't get a warning");
30 $warning = "";
36 is($warning, "", "didn't get a warning");
39 $warning = "";
45 is($warning, "", "didn't get a warning");
48 $warning = "";
54 is($warning, "", "didn't get a warning");
[all …]
H A Doption_l-bigrat.t12 # Catch warning.
14 my $warning;
21 $warning = "";
27 is($warning, "", "didn't get a warning");
30 $warning = "";
36 is($warning, "", "didn't get a warning");
39 $warning = "";
45 is($warning, "", "didn't get a warning");
48 $warning = "";
54 is($warning, "", "didn't get a warning");
[all …]
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/
H A Dwarn247 my $warning;
251 $warning = '';
255 $warning = '';
259 $warning = '';
263 $warning = '';
267 $warning = '';
271 $warning = '';
275 $warning = '';
281 $warning = '';
285 $warning = '';
[all …]
/openbsd/gnu/usr.bin/perl/t/op/
H A Dtime.t175 my $warning;
181 $warning = '';
183 like $warning, qr/^gmtime(.*) too large/;
185 $warning = '';
189 $warning = '';
193 $warning = '';
219 my $warning;
221 $warning = '';
226 $warning = '';
231 $warning = '';
[all …]
H A Dattrproto.t48 "Shifting off warning for the 'ignored' prototype";
50 "Attempting to redeclare triggers Illegal character warning";
52 "Shifting off Prototype overridden warning";
63 "Attempting to redeclare triggers Illegal character warning";
65 "Attempting to redeclare triggers Illegal character warning";
67 "Shifting off Prototype overridden warning";
69 "Attempting to redeclare triggers prototype mismatch warning";
71 "Only other warning is subroutine redefinition";
86 "Prototype mismatch warning triggered";
93 is @warnings, 0, "Malformed prototype isn't just a warning";
[all …]
/openbsd/gnu/gcc/gcc/config/
H A Dsol2-c.c130 warning (0, "malformed %<#pragma align%>"); in solaris_pragma_align()
137 warning (0, "junk at end of %<#pragma align%>"); in solaris_pragma_align()
142 warning (0, "malformed %<#pragma align%>"); in solaris_pragma_align()
158 warning (0, "malformed %<#pragma init%>, ignoring"); in solaris_pragma_init()
165 warning (0, "malformed %<#pragma init%>, ignoring"); in solaris_pragma_init()
188 warning (0, "malformed %<#pragma init%>"); in solaris_pragma_init()
195 warning (0, "junk at end of %<#pragma init%>"); in solaris_pragma_init()
200 warning (0, "malformed %<#pragma init%>"); in solaris_pragma_init()
246 warning (0, "malformed %<#pragma fini%>"); in solaris_pragma_fini()
253 warning (0, "junk at end of %<#pragma fini%>"); in solaris_pragma_fini()
[all …]
/openbsd/gnu/gcc/gcc/config/v850/
H A Dv850-c.c67 warning (OPT_Wpragmas, "#pragma GHS endXXXX found without " in pop_data_area()
70 warning (OPT_Wpragmas, "#pragma GHS endXXX does not match " in pop_data_area()
149 warning (OPT_Wpragmas, "junk at end of #pragma ghs section"); in ghs_pragma_section()
166 warning (0, "unrecognized section name \"%s\"", sect); in ghs_pragma_section()
181 warning (OPT_Wpragmas, "malformed #pragma ghs section"); in ghs_pragma_section()
211 warning (OPT_Wpragmas, "junk at end of #pragma ghs starttda"); in ghs_pragma_starttda()
222 warning (OPT_Wpragmas, "junk at end of #pragma ghs startsda"); in ghs_pragma_startsda()
233 warning (OPT_Wpragmas, "junk at end of #pragma ghs startzda"); in ghs_pragma_startzda()
244 warning (OPT_Wpragmas, "junk at end of #pragma ghs endtda"); in ghs_pragma_endtda()
255 warning (OPT_Wpragmas, "junk at end of #pragma ghs endsda"); in ghs_pragma_endsda()
[all …]
/openbsd/gnu/usr.bin/perl/t/porting/
H A Ddeprecation.t96 my $warning = "nada";
97 local $SIG{__WARN__} = sub { $warning = $_[0] };
105 like($warning,
113 my $warning = "nada";
114 local $SIG{__WARN__} = sub { $warning = $_[0] };
122 like($warning, qr/nada/,
130 my $warning = "nada";
131 local $SIG{__WARN__} = sub { $warning = $_[0] };
139 like($warning, qr/nada/,
143 like($warning, qr/is no longer in \@INC/,
/openbsd/gnu/usr.bin/gcc/gcc/config/v850/
H A Dv850-c.c67 warning ("#pragma GHS endXXXX found without previous startXXX");
148 warning ("junk at end of #pragma ghs section");
165 warning ("unrecognized section name \"%s\"", sect);
180 warning ("malformed #pragma ghs section");
200 warning ("junk at end of #pragma ghs interrupt");
212 warning ("junk at end of #pragma ghs starttda");
224 warning ("junk at end of #pragma ghs startsda");
236 warning ("junk at end of #pragma ghs startzda");
248 warning ("junk at end of #pragma ghs endtda");
260 warning ("junk at end of #pragma ghs endsda");
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dhppa-hpux-tdep.c386 warning ("Unable to find branch in linker stub"); in hppa_hpux_skip_trampoline_code()
439 warning ("Unable to find symbol for 0x%lx", loc); in hppa_hpux_skip_trampoline_code()
446 warning ("Unable to find library symbol for %s\n", in hppa_hpux_skip_trampoline_code()
476 warning ("Unable to find restore of %%rp before bv (%%rp)."); in hppa_hpux_skip_trampoline_code()
568 warning ("Unable to find __d_pid symbol in object file."); in setup_d_pid_in_inferior()
577 warning ("Unable to write __d_pid"); in setup_d_pid_in_inferior()
814 warning ("GDB will not be able to intercept exception events."); in initialize_hp_cxx_exception_support()
884 warning ("Unable to enable interception of exception throws."); in initialize_hp_cxx_exception_support()
935 warning ("Interception of exception events may not work."); in child_enable_exception_callback()
959 warning ("Couldn't enable exception throw interception."); in child_enable_exception_callback()
[all …]
H A Darmnbsd-nat.c90 warning (_("unable to fetch general register")); in fetch_register()
141 warning (_("unable to fetch general registers")); in fetch_regs()
159 warning (_("unable to fetch floating-point register")); in fetch_fp_register()
189 warning (_("unable to fetch general registers")); in fetch_fp_regs()
225 warning (_("unable to fetch general registers")); in store_register()
286 warning (_("unable to write register %d to inferior"), regno); in store_register()
333 warning (_("unable to store general registers")); in store_regs()
347 warning (_("unable to fetch floating-point registers")); in store_fp_register()
390 warning (_("unable to store floating-point registers")); in store_fp_regs()
439 warning (_("wrong size of register set in core file")); in fetch_elfcore_registers()
[all …]
/openbsd/gnu/usr.bin/perl/t/run/
H A Dswitcht.t19 my $warning;
20 local $SIG{__WARN__} = sub { $warning = join "\n", @_; };
27 like( $warning, qr/^Insecure .* $Tmsg/, ' taint warn' );
31 $warning = '';
34 is( $warning, '', ' no warnings "taint"' );
44 like( $warning, qr/^Insecure dependency in open $Tmsg/, 'open > taint warn' );
48 like( $warning, qr/^Insecure dependency in unlink $Tmsg/,
/openbsd/gnu/llvm/clang/docs/analyzer/developer-docs/
H A DDebugChecks.rst94 clang_analyzer_eval(x); // expected-warning{{UNKNOWN}}
96 clang_analyzer_eval(x); // expected-warning{{TRUE}}
141 clang_analyzer_warnIfReached(); // no-warning
152 clang_analyzer_numTimesReached(); // expected-warning{{3}}
169 no warning would be issued.
176 } while(0); // expected-warning{{SYMBOL DEAD}}
212 clang_analyzer_dump(x); // expected-warning{{reg_$0<x>}}
227 clang_analyzer_explain(xs); // expected-warning{{'4'}}
229 clang_analyzer_explain(ys); // expected-warning{{'8'}}
252 warning of an arbitrary expression using the function above.
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/
H A Dskip.t56 my $warning;
57 local $SIG{__WARN__} = sub { $warning = join "", @_ };
66 is( $warning, "skip() needs to know \$how_many tests are in the ".
88 my $warning = '';
89 local $SIG{__WARN__} = sub { $warning .= join "", @_ };
97 like $warning, qr/^skip\(\) was passed a non-numeric number of tests/;
H A Dplan_no_plan.t22 my $warning = '';
23 local $SIG{__WARN__} = sub { $warning = join "", @_ };
28 is( $warning, '', 'skip with no "how_many" ok with no_plan' );
31 $warning = '';
39 is( $warning, '', 'skip with no "how_many" ok with no_plan' );
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dc-pragma.c36 #define GCC_BAD(msgid) do { warning (msgid); return; } while (0)
107 warning ("\
125 warning ("\
233 warning ("junk at end of '#pragma pack'");
337 warning ("junk at end of #pragma weak");
372 warning ("malformed #pragma redefine_extname, ignored");
377 warning ("malformed #pragma redefine_extname, ignored");
382 warning ("junk at end of #pragma redefine_extname");
420 warning ("malformed #pragma extern_prefix, ignored");
425 warning ("junk at end of #pragma extern_prefix");
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dresults.t19 my $warning;
20 $SIG{__WARN__} = sub { $warning = shift };
46 $warning = '';
48 like $warning, qr/^\Qpassed() is deprecated. Please use "is_ok()"/,
216 $warning = '';
219 like $warning,
224 $warning = '';
227 like $warning,

12345678910>>...62