Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: prefix error messages with 'error:'
details: https://anonhg.NetBSD.org/src/rev/fb4d4ba82cda
branches: trunk
changeset: 1019857:fb4d4ba82cda
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Mar 21 20:44:59 2021 +0000
description:
lint: prefix error messages with 'error:'
This makes it easier to find these errors in the build logs.
diffstat:
tests/usr.bin/xlint/lint1/d_c99_bool.exp | 22 +-
tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp | 292 +++++++-------
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.exp | 10 +-
tests/usr.bin/xlint/lint1/d_c99_init.exp | 12 +-
tests/usr.bin/xlint/lint1/d_decl_old_style_arguments.exp | 2 +-
tests/usr.bin/xlint/lint1/d_fold_test.exp | 12 +-
tests/usr.bin/xlint/lint1/d_incorrect_array_size.exp | 2 +-
tests/usr.bin/xlint/lint1/d_init_pop_member.exp | 4 +-
tests/usr.bin/xlint/lint1/d_lint_assert.exp | 2 +-
tests/usr.bin/xlint/lint1/d_pr_22119.exp | 2 +-
tests/usr.bin/xlint/lint1/d_struct_init_nested.exp | 6 +-
tests/usr.bin/xlint/lint1/msg_004.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_006.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_007.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_008.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_009.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_011.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_012.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_013.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_014.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_015.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_016.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_017.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_018.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_019.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_020.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_021.exp | 10 +-
tests/usr.bin/xlint/lint1/msg_022.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_023.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_024.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_025.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_026.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_027.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_028.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_030.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_031.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_032.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_033.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_035.exp | 6 +-
tests/usr.bin/xlint/lint1/msg_036.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_037.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_038.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_039.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_040.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_041.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_042.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_043.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_044.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_045.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_046.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_047.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_048.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_049.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_051.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_052.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_053.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_055.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_058.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_059.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_060.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_061.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_062.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_063.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_064.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_065.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_067.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_069.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_070.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_071.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_073.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_074.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_076.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_077.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_078.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_079.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_080.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_089.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_090.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_091.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_092.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_094.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_096.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_098.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_099.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_101.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_102.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_103.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_104.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_105.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_106.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_107.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_108.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_109.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_110.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_111.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_112.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_113.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_114.exp | 6 +-
tests/usr.bin/xlint/lint1/msg_116.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_119.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_123.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_126.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_131.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_134.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_136.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_137.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_138.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_139.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_140.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_141.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_143.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_144.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_145.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_146.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_147.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_148.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_149.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_150.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_151.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_152.exp | 6 +-
tests/usr.bin/xlint/lint1/msg_155.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_159.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_162.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_163.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_170.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_171.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_172.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_173.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_174.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_175.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_176.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_177.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_179.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_181.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_182.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_183.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_185.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_187.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_188.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_190.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_194.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_195.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_196.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_197.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_198.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_199.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_200.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_201.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_202.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_203.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_204.exp | 12 +-
tests/usr.bin/xlint/lint1/msg_205.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_206.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_207.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_208.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_209.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_211.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_212.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_213.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_214.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_215.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_218.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_222.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_224.exp | 12 +-
tests/usr.bin/xlint/lint1/msg_225.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_226.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_227.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_228.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_233.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_234.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_235.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_236.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_237.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_238.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_239.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_240.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_244.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_246.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_248.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_249.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_250.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_251.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_252.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_253.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_254.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_255.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_256.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_257.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_258.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_260.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_261.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_262.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_263.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_264.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_266.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_267.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_268.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_269.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_270.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_271.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_272.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_273.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_274.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_276.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_280.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_281.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_282.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_283.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_284.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_285.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_286.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_287.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_288.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_289.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_290.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_291.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_292.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_293.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_294.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_295.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_296.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_297.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_298.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_299.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_300.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_301.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_302.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_303.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_304.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_305.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_306.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_307.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_308.exp | 6 +-
tests/usr.bin/xlint/lint1/msg_309.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_310.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_311.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_312.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_313.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_314.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_315.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_316.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_317.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_318.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_319.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_320.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_321.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_322.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_323.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_325.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_326.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_328.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_329.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_330.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_331.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_332.exp | 8 +-
tests/usr.bin/xlint/lint1/msg_333.exp | 6 +-
tests/usr.bin/xlint/lint1/msg_334.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_335.exp | 12 +-
tests/usr.bin/xlint/lint1/msg_336.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_337.exp | 4 +-
tests/usr.bin/xlint/lint1/msg_340.exp | 2 +-
usr.bin/xlint/lint1/err.c | 6 +-
262 files changed, 506 insertions(+), 506 deletions(-)
diffs (truncated from 2168 to 300 lines):
diff -r ce45cf456c7e -r fb4d4ba82cda tests/usr.bin/xlint/lint1/d_c99_bool.exp
--- a/tests/usr.bin/xlint/lint1/d_c99_bool.exp Sun Mar 21 20:30:19 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/d_c99_bool.exp Sun Mar 21 20:44:59 2021 +0000
@@ -1,11 +1,11 @@
-d_c99_bool.c(15): negative array dimension (-1) [20]
-d_c99_bool.c(17): negative array dimension (-1) [20]
-d_c99_bool.c(20): negative array dimension (-1) [20]
-d_c99_bool.c(23): negative array dimension (-1) [20]
-d_c99_bool.c(27): negative array dimension (-1) [20]
-d_c99_bool.c(41): negative array dimension (-1) [20]
-d_c99_bool.c(44): negative array dimension (-1) [20]
-d_c99_bool.c(48): negative array dimension (-1) [20]
-d_c99_bool.c(51): negative array dimension (-1) [20]
-d_c99_bool.c(54): negative array dimension (-1) [20]
-d_c99_bool.c(57): negative array dimension (-1) [20]
+d_c99_bool.c(15): error: negative array dimension (-1) [20]
+d_c99_bool.c(17): error: negative array dimension (-1) [20]
+d_c99_bool.c(20): error: negative array dimension (-1) [20]
+d_c99_bool.c(23): error: negative array dimension (-1) [20]
+d_c99_bool.c(27): error: negative array dimension (-1) [20]
+d_c99_bool.c(41): error: negative array dimension (-1) [20]
+d_c99_bool.c(44): error: negative array dimension (-1) [20]
+d_c99_bool.c(48): error: negative array dimension (-1) [20]
+d_c99_bool.c(51): error: negative array dimension (-1) [20]
+d_c99_bool.c(54): error: negative array dimension (-1) [20]
+d_c99_bool.c(57): error: negative array dimension (-1) [20]
diff -r ce45cf456c7e -r fb4d4ba82cda tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp
--- a/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp Sun Mar 21 20:30:19 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp Sun Mar 21 20:44:59 2021 +0000
@@ -1,168 +1,168 @@
-d_c99_bool_strict.c(127): argument #1 expects '_Bool', gets passed 'int' [334]
-d_c99_bool_strict.c(128): argument #1 expects '_Bool', gets passed 'int' [334]
-d_c99_bool_strict.c(129): argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(127): error: argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(128): error: argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(129): error: argument #1 expects '_Bool', gets passed 'int' [334]
d_c99_bool_strict.c(134): warning: constant in conditional context [161]
d_c99_bool_strict.c(137): warning: constant in conditional context [161]
-d_c99_bool_strict.c(140): left operand of '?' must be bool, not 'int' [331]
-d_c99_bool_strict.c(143): left operand of '?' must be bool, not 'int' [331]
-d_c99_bool_strict.c(146): left operand of '?' must be bool, not 'int' [331]
-d_c99_bool_strict.c(149): left operand of '?' must be bool, not 'int' [331]
-d_c99_bool_strict.c(159): left operand of '?' must be bool, not 'int' [331]
-d_c99_bool_strict.c(160): left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(140): error: left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(143): error: left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(146): error: left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(149): error: left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(159): error: left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(160): error: left operand of '?' must be bool, not 'int' [331]
d_c99_bool_strict.c(163): warning: constant in conditional context [161]
d_c99_bool_strict.c(169): warning: constant in conditional context [161]
-d_c99_bool_strict.c(169): left operand of '?' must be bool, not 'int' [331]
-d_c99_bool_strict.c(171): integral constant expression expected [55]
-d_c99_bool_strict.c(174): integral constant expression expected [55]
-d_c99_bool_strict.c(177): integral constant expression expected [55]
+d_c99_bool_strict.c(169): error: left operand of '?' must be bool, not 'int' [331]
+d_c99_bool_strict.c(171): error: integral constant expression expected [55]
+d_c99_bool_strict.c(174): error: integral constant expression expected [55]
+d_c99_bool_strict.c(177): error: integral constant expression expected [55]
d_c99_bool_strict.c(180): warning: constant in conditional context [161]
-d_c99_bool_strict.c(180): integral constant expression expected [55]
-d_c99_bool_strict.c(181): left operand of '||' must be bool, not 'int' [331]
-d_c99_bool_strict.c(181): right operand of '||' must be bool, not 'int' [332]
+d_c99_bool_strict.c(180): error: integral constant expression expected [55]
+d_c99_bool_strict.c(181): error: left operand of '||' must be bool, not 'int' [331]
+d_c99_bool_strict.c(181): error: right operand of '||' must be bool, not 'int' [332]
d_c99_bool_strict.c(183): warning: constant in conditional context [161]
-d_c99_bool_strict.c(183): integral constant expression expected [55]
-d_c99_bool_strict.c(184): left operand of '&&' must be bool, not 'int' [331]
-d_c99_bool_strict.c(184): right operand of '&&' must be bool, not 'int' [332]
-d_c99_bool_strict.c(204): operands of '=' have incompatible types (_Bool != unsigned int) [107]
-d_c99_bool_strict.c(206): operands of '=' have incompatible types (unsigned int != _Bool) [107]
-d_c99_bool_strict.c(209): operands of '=' have incompatible types (_Bool != unsigned int) [107]
-d_c99_bool_strict.c(211): operands of '=' have incompatible types (unsigned int != _Bool) [107]
-d_c99_bool_strict.c(253): return value type mismatch (_Bool) and (int) [211]
-d_c99_bool_strict.c(259): return value type mismatch (_Bool) and (int) [211]
-d_c99_bool_strict.c(265): return value type mismatch (_Bool) and (int) [211]
-d_c99_bool_strict.c(271): return value type mismatch (_Bool) and (pointer) [211]
+d_c99_bool_strict.c(183): error: integral constant expression expected [55]
+d_c99_bool_strict.c(184): error: left operand of '&&' must be bool, not 'int' [331]
+d_c99_bool_strict.c(184): error: right operand of '&&' must be bool, not 'int' [332]
+d_c99_bool_strict.c(204): error: operands of '=' have incompatible types (_Bool != unsigned int) [107]
+d_c99_bool_strict.c(206): error: operands of '=' have incompatible types (unsigned int != _Bool) [107]
+d_c99_bool_strict.c(209): error: operands of '=' have incompatible types (_Bool != unsigned int) [107]
+d_c99_bool_strict.c(211): error: operands of '=' have incompatible types (unsigned int != _Bool) [107]
+d_c99_bool_strict.c(253): error: return value type mismatch (_Bool) and (int) [211]
+d_c99_bool_strict.c(259): error: return value type mismatch (_Bool) and (int) [211]
+d_c99_bool_strict.c(265): error: return value type mismatch (_Bool) and (int) [211]
+d_c99_bool_strict.c(271): error: return value type mismatch (_Bool) and (pointer) [211]
d_c99_bool_strict.c(269): warning: argument p unused in function strict_bool_conversion_return_pointer [231]
-d_c99_bool_strict.c(277): return value type mismatch (char) and (_Bool) [211]
-d_c99_bool_strict.c(283): return value type mismatch (char) and (_Bool) [211]
-d_c99_bool_strict.c(301): argument #2 expects 'int', gets passed '_Bool' [334]
-d_c99_bool_strict.c(301): argument #3 expects 'pointer', gets passed '_Bool' [334]
-d_c99_bool_strict.c(304): argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(277): error: return value type mismatch (char) and (_Bool) [211]
+d_c99_bool_strict.c(283): error: return value type mismatch (char) and (_Bool) [211]
+d_c99_bool_strict.c(301): error: argument #2 expects 'int', gets passed '_Bool' [334]
+d_c99_bool_strict.c(301): error: argument #3 expects 'pointer', gets passed '_Bool' [334]
+d_c99_bool_strict.c(304): error: argument #1 expects '_Bool', gets passed 'int' [334]
d_c99_bool_strict.c(304): warning: illegal combination of pointer (pointer to const char) and integer (int), arg #3 [154]
-d_c99_bool_strict.c(307): argument #1 expects '_Bool', gets passed 'pointer' [334]
+d_c99_bool_strict.c(307): error: argument #1 expects '_Bool', gets passed 'pointer' [334]
d_c99_bool_strict.c(307): warning: illegal combination of integer (int) and pointer (pointer to const char), arg #2 [154]
-d_c99_bool_strict.c(319): argument #1 expects '_Bool', gets passed 'int' [334]
-d_c99_bool_strict.c(320): argument #1 expects '_Bool', gets passed 'int' [334]
-d_c99_bool_strict.c(321): argument #1 expects '_Bool', gets passed 'int' [334]
-d_c99_bool_strict.c(330): operands of '=' have incompatible types (_Bool != int) [107]
-d_c99_bool_strict.c(332): operands of '=' have incompatible types (_Bool != int) [107]
-d_c99_bool_strict.c(336): operands of '=' have incompatible types (int != _Bool) [107]
-d_c99_bool_strict.c(338): operands of '=' have incompatible types (int != _Bool) [107]
-d_c99_bool_strict.c(340): operands of '=' have incompatible types (int != _Bool) [107]
-d_c99_bool_strict.c(341): operands of '=' have incompatible types (_Bool != int) [107]
-d_c99_bool_strict.c(352): operands of '=' have incompatible types (int != _Bool) [107]
-d_c99_bool_strict.c(353): operands of '=' have incompatible types (unsigned int != _Bool) [107]
-d_c99_bool_strict.c(354): operands of '=' have incompatible types (double != _Bool) [107]
-d_c99_bool_strict.c(355): operands of '=' have incompatible types (pointer != _Bool) [107]
+d_c99_bool_strict.c(319): error: argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(320): error: argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(321): error: argument #1 expects '_Bool', gets passed 'int' [334]
+d_c99_bool_strict.c(330): error: operands of '=' have incompatible types (_Bool != int) [107]
+d_c99_bool_strict.c(332): error: operands of '=' have incompatible types (_Bool != int) [107]
+d_c99_bool_strict.c(336): error: operands of '=' have incompatible types (int != _Bool) [107]
+d_c99_bool_strict.c(338): error: operands of '=' have incompatible types (int != _Bool) [107]
+d_c99_bool_strict.c(340): error: operands of '=' have incompatible types (int != _Bool) [107]
+d_c99_bool_strict.c(341): error: operands of '=' have incompatible types (_Bool != int) [107]
+d_c99_bool_strict.c(352): error: operands of '=' have incompatible types (int != _Bool) [107]
+d_c99_bool_strict.c(353): error: operands of '=' have incompatible types (unsigned int != _Bool) [107]
+d_c99_bool_strict.c(354): error: operands of '=' have incompatible types (double != _Bool) [107]
+d_c99_bool_strict.c(355): error: operands of '=' have incompatible types (pointer != _Bool) [107]
d_c99_bool_strict.c(345): warning: argument b unused in function strict_bool_conversion_from_bool_to_scalar [231]
d_c99_bool_strict.c(367): warning: constant in conditional context [161]
d_c99_bool_strict.c(368): warning: statement not reached [193]
d_c99_bool_strict.c(370): warning: constant in conditional context [161]
-d_c99_bool_strict.c(376): controlling expression must be bool, not 'int' [333]
-d_c99_bool_strict.c(379): controlling expression must be bool, not 'int' [333]
-d_c99_bool_strict.c(382): controlling expression must be bool, not 'int' [333]
-d_c99_bool_strict.c(386): controlling expression must be bool, not 'int' [333]
-d_c99_bool_strict.c(392): controlling expression must be bool, not 'double' [333]
-d_c99_bool_strict.c(398): controlling expression must be bool, not 'pointer' [333]
+d_c99_bool_strict.c(376): error: controlling expression must be bool, not 'int' [333]
+d_c99_bool_strict.c(379): error: controlling expression must be bool, not 'int' [333]
+d_c99_bool_strict.c(382): error: controlling expression must be bool, not 'int' [333]
+d_c99_bool_strict.c(386): error: controlling expression must be bool, not 'int' [333]
+d_c99_bool_strict.c(392): error: controlling expression must be bool, not 'double' [333]
+d_c99_bool_strict.c(398): error: controlling expression must be bool, not 'pointer' [333]
d_c99_bool_strict.c(419): warning: constant in conditional context [161]
d_c99_bool_strict.c(419): warning: constant argument to NOT [239]
d_c99_bool_strict.c(420): warning: constant in conditional context [161]
d_c99_bool_strict.c(420): warning: constant argument to NOT [239]
-d_c99_bool_strict.c(424): operand of '!' must be bool, not 'int' [330]
-d_c99_bool_strict.c(425): operand of '!' must be bool, not 'int' [330]
-d_c99_bool_strict.c(426): operand of '!' must be bool, not 'int' [330]
-d_c99_bool_strict.c(427): operand of '!' must be bool, not 'int' [330]
-d_c99_bool_strict.c(480): operands of '=' have incompatible types (_Bool != int) [107]
-d_c99_bool_strict.c(486): operands of '=' have incompatible types (_Bool != int) [107]
-d_c99_bool_strict.c(502): operand of '!' must be bool, not 'int' [330]
-d_c99_bool_strict.c(503): left operand of '&&' must be bool, not 'int' [331]
-d_c99_bool_strict.c(503): right operand of '&&' must be bool, not 'int' [332]
-d_c99_bool_strict.c(504): left operand of '||' must be bool, not 'int' [331]
-d_c99_bool_strict.c(504): right operand of '||' must be bool, not 'int' [332]
-d_c99_bool_strict.c(506): right operand of '&&' must be bool, not 'int' [332]
-d_c99_bool_strict.c(507): left operand of '&&' must be bool, not 'int' [331]
-d_c99_bool_strict.c(508): right operand of '||' must be bool, not 'int' [332]
-d_c99_bool_strict.c(509): left operand of '||' must be bool, not 'int' [331]
-d_c99_bool_strict.c(518): operand of '~' must not be bool [335]
-d_c99_bool_strict.c(519): operand of '++x' must not be bool [335]
-d_c99_bool_strict.c(520): operand of '--x' must not be bool [335]
-d_c99_bool_strict.c(521): operand of 'x++' must not be bool [335]
-d_c99_bool_strict.c(522): operand of 'x--' must not be bool [335]
-d_c99_bool_strict.c(523): operand of '+' must not be bool [335]
-d_c99_bool_strict.c(524): operand of '-' must not be bool [335]
-d_c99_bool_strict.c(526): left operand of '*' must not be bool [336]
-d_c99_bool_strict.c(526): right operand of '*' must not be bool [337]
-d_c99_bool_strict.c(527): left operand of '/' must not be bool [336]
-d_c99_bool_strict.c(527): right operand of '/' must not be bool [337]
-d_c99_bool_strict.c(528): left operand of '%' must not be bool [336]
-d_c99_bool_strict.c(528): right operand of '%' must not be bool [337]
-d_c99_bool_strict.c(529): left operand of '+' must not be bool [336]
-d_c99_bool_strict.c(529): right operand of '+' must not be bool [337]
-d_c99_bool_strict.c(530): left operand of '-' must not be bool [336]
-d_c99_bool_strict.c(530): right operand of '-' must not be bool [337]
-d_c99_bool_strict.c(531): left operand of '<<' must not be bool [336]
-d_c99_bool_strict.c(531): right operand of '<<' must not be bool [337]
-d_c99_bool_strict.c(532): left operand of '>>' must not be bool [336]
-d_c99_bool_strict.c(532): right operand of '>>' must not be bool [337]
-d_c99_bool_strict.c(534): left operand of '<' must not be bool [336]
-d_c99_bool_strict.c(534): right operand of '<' must not be bool [337]
-d_c99_bool_strict.c(535): left operand of '<=' must not be bool [336]
-d_c99_bool_strict.c(535): right operand of '<=' must not be bool [337]
-d_c99_bool_strict.c(536): left operand of '>' must not be bool [336]
-d_c99_bool_strict.c(536): right operand of '>' must not be bool [337]
-d_c99_bool_strict.c(537): left operand of '>=' must not be bool [336]
-d_c99_bool_strict.c(537): right operand of '>=' must not be bool [337]
-d_c99_bool_strict.c(549): left operand of '*=' must not be bool [336]
-d_c99_bool_strict.c(549): right operand of '*=' must not be bool [337]
-d_c99_bool_strict.c(550): left operand of '/=' must not be bool [336]
-d_c99_bool_strict.c(550): right operand of '/=' must not be bool [337]
-d_c99_bool_strict.c(551): left operand of '%=' must not be bool [336]
-d_c99_bool_strict.c(551): right operand of '%=' must not be bool [337]
-d_c99_bool_strict.c(552): left operand of '+=' must not be bool [336]
-d_c99_bool_strict.c(552): right operand of '+=' must not be bool [337]
-d_c99_bool_strict.c(553): left operand of '-=' must not be bool [336]
-d_c99_bool_strict.c(553): right operand of '-=' must not be bool [337]
-d_c99_bool_strict.c(554): left operand of '<<=' must not be bool [336]
-d_c99_bool_strict.c(554): right operand of '<<=' must not be bool [337]
-d_c99_bool_strict.c(555): left operand of '>>=' must not be bool [336]
-d_c99_bool_strict.c(555): right operand of '>>=' must not be bool [337]
-d_c99_bool_strict.c(561): left operand of '*' must not be bool [336]
-d_c99_bool_strict.c(562): right operand of '*' must not be bool [337]
-d_c99_bool_strict.c(563): left operand of '/' must not be bool [336]
-d_c99_bool_strict.c(564): right operand of '/' must not be bool [337]
-d_c99_bool_strict.c(565): left operand of '%' must not be bool [336]
-d_c99_bool_strict.c(566): right operand of '%' must not be bool [337]
-d_c99_bool_strict.c(567): left operand of '+' must not be bool [336]
-d_c99_bool_strict.c(568): right operand of '+' must not be bool [337]
-d_c99_bool_strict.c(569): left operand of '-' must not be bool [336]
-d_c99_bool_strict.c(570): right operand of '-' must not be bool [337]
-d_c99_bool_strict.c(571): left operand of '<<' must not be bool [336]
-d_c99_bool_strict.c(572): right operand of '<<' must not be bool [337]
-d_c99_bool_strict.c(573): left operand of '>>' must not be bool [336]
-d_c99_bool_strict.c(574): right operand of '>>' must not be bool [337]
-d_c99_bool_strict.c(576): operands of ':' have incompatible types (_Bool != unsigned int) [107]
-d_c99_bool_strict.c(577): operands of ':' have incompatible types (unsigned int != _Bool) [107]
+d_c99_bool_strict.c(424): error: operand of '!' must be bool, not 'int' [330]
+d_c99_bool_strict.c(425): error: operand of '!' must be bool, not 'int' [330]
+d_c99_bool_strict.c(426): error: operand of '!' must be bool, not 'int' [330]
+d_c99_bool_strict.c(427): error: operand of '!' must be bool, not 'int' [330]
+d_c99_bool_strict.c(480): error: operands of '=' have incompatible types (_Bool != int) [107]
+d_c99_bool_strict.c(486): error: operands of '=' have incompatible types (_Bool != int) [107]
+d_c99_bool_strict.c(502): error: operand of '!' must be bool, not 'int' [330]
+d_c99_bool_strict.c(503): error: left operand of '&&' must be bool, not 'int' [331]
+d_c99_bool_strict.c(503): error: right operand of '&&' must be bool, not 'int' [332]
+d_c99_bool_strict.c(504): error: left operand of '||' must be bool, not 'int' [331]
+d_c99_bool_strict.c(504): error: right operand of '||' must be bool, not 'int' [332]
+d_c99_bool_strict.c(506): error: right operand of '&&' must be bool, not 'int' [332]
+d_c99_bool_strict.c(507): error: left operand of '&&' must be bool, not 'int' [331]
+d_c99_bool_strict.c(508): error: right operand of '||' must be bool, not 'int' [332]
+d_c99_bool_strict.c(509): error: left operand of '||' must be bool, not 'int' [331]
+d_c99_bool_strict.c(518): error: operand of '~' must not be bool [335]
+d_c99_bool_strict.c(519): error: operand of '++x' must not be bool [335]
+d_c99_bool_strict.c(520): error: operand of '--x' must not be bool [335]
+d_c99_bool_strict.c(521): error: operand of 'x++' must not be bool [335]
+d_c99_bool_strict.c(522): error: operand of 'x--' must not be bool [335]
+d_c99_bool_strict.c(523): error: operand of '+' must not be bool [335]
+d_c99_bool_strict.c(524): error: operand of '-' must not be bool [335]
+d_c99_bool_strict.c(526): error: left operand of '*' must not be bool [336]
+d_c99_bool_strict.c(526): error: right operand of '*' must not be bool [337]
+d_c99_bool_strict.c(527): error: left operand of '/' must not be bool [336]
+d_c99_bool_strict.c(527): error: right operand of '/' must not be bool [337]
+d_c99_bool_strict.c(528): error: left operand of '%' must not be bool [336]
+d_c99_bool_strict.c(528): error: right operand of '%' must not be bool [337]
+d_c99_bool_strict.c(529): error: left operand of '+' must not be bool [336]
+d_c99_bool_strict.c(529): error: right operand of '+' must not be bool [337]
+d_c99_bool_strict.c(530): error: left operand of '-' must not be bool [336]
+d_c99_bool_strict.c(530): error: right operand of '-' must not be bool [337]
+d_c99_bool_strict.c(531): error: left operand of '<<' must not be bool [336]
+d_c99_bool_strict.c(531): error: right operand of '<<' must not be bool [337]
+d_c99_bool_strict.c(532): error: left operand of '>>' must not be bool [336]
+d_c99_bool_strict.c(532): error: right operand of '>>' must not be bool [337]
+d_c99_bool_strict.c(534): error: left operand of '<' must not be bool [336]
+d_c99_bool_strict.c(534): error: right operand of '<' must not be bool [337]
+d_c99_bool_strict.c(535): error: left operand of '<=' must not be bool [336]
+d_c99_bool_strict.c(535): error: right operand of '<=' must not be bool [337]
+d_c99_bool_strict.c(536): error: left operand of '>' must not be bool [336]
+d_c99_bool_strict.c(536): error: right operand of '>' must not be bool [337]
+d_c99_bool_strict.c(537): error: left operand of '>=' must not be bool [336]
+d_c99_bool_strict.c(537): error: right operand of '>=' must not be bool [337]
+d_c99_bool_strict.c(549): error: left operand of '*=' must not be bool [336]
+d_c99_bool_strict.c(549): error: right operand of '*=' must not be bool [337]
+d_c99_bool_strict.c(550): error: left operand of '/=' must not be bool [336]
+d_c99_bool_strict.c(550): error: right operand of '/=' must not be bool [337]
+d_c99_bool_strict.c(551): error: left operand of '%=' must not be bool [336]
+d_c99_bool_strict.c(551): error: right operand of '%=' must not be bool [337]
+d_c99_bool_strict.c(552): error: left operand of '+=' must not be bool [336]
+d_c99_bool_strict.c(552): error: right operand of '+=' must not be bool [337]
+d_c99_bool_strict.c(553): error: left operand of '-=' must not be bool [336]
+d_c99_bool_strict.c(553): error: right operand of '-=' must not be bool [337]
+d_c99_bool_strict.c(554): error: left operand of '<<=' must not be bool [336]
+d_c99_bool_strict.c(554): error: right operand of '<<=' must not be bool [337]
+d_c99_bool_strict.c(555): error: left operand of '>>=' must not be bool [336]
+d_c99_bool_strict.c(555): error: right operand of '>>=' must not be bool [337]
+d_c99_bool_strict.c(561): error: left operand of '*' must not be bool [336]
+d_c99_bool_strict.c(562): error: right operand of '*' must not be bool [337]
+d_c99_bool_strict.c(563): error: left operand of '/' must not be bool [336]
+d_c99_bool_strict.c(564): error: right operand of '/' must not be bool [337]
+d_c99_bool_strict.c(565): error: left operand of '%' must not be bool [336]
+d_c99_bool_strict.c(566): error: right operand of '%' must not be bool [337]
+d_c99_bool_strict.c(567): error: left operand of '+' must not be bool [336]
+d_c99_bool_strict.c(568): error: right operand of '+' must not be bool [337]
+d_c99_bool_strict.c(569): error: left operand of '-' must not be bool [336]
+d_c99_bool_strict.c(570): error: right operand of '-' must not be bool [337]
+d_c99_bool_strict.c(571): error: left operand of '<<' must not be bool [336]
+d_c99_bool_strict.c(572): error: right operand of '<<' must not be bool [337]
+d_c99_bool_strict.c(573): error: left operand of '>>' must not be bool [336]
+d_c99_bool_strict.c(574): error: right operand of '>>' must not be bool [337]
+d_c99_bool_strict.c(576): error: operands of ':' have incompatible types (_Bool != unsigned int) [107]
+d_c99_bool_strict.c(577): error: operands of ':' have incompatible types (unsigned int != _Bool) [107]
d_c99_bool_strict.c(583): warning: expression has null effect [129]
Home |
Main Index |
Thread Index |
Old Index