Module Name: src Committed By: rillig Date: Sun Mar 21 14:12:46 UTC 2021
Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: tests/lint: sync redundant documentation in test for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c cvs rdiff -u -r1.20 -r1.21 \ src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c diff -u src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c:1.24 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c:1.25 --- src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c:1.24 Sat Mar 20 17:18:50 2021 +++ src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c Sun Mar 21 14:12:46 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: d_c99_bool_strict.c,v 1.24 2021/03/20 17:18:50 rillig Exp $ */ +/* $NetBSD: d_c99_bool_strict.c,v 1.25 2021/03/21 14:12:46 rillig Exp $ */ # 3 "d_c99_bool_strict.c" /* @@ -31,8 +31,9 @@ * * strict-bool-operand-unary: * Operator bool? scalar? - * ! yes no - * The other binary operators do not accept bool operands. + * ! yes - + * & yes yes + * The other unary operators do not accept bool operands. * * strict-bool-operand-binary: * Operator left: bool? other? right: bool? other? @@ -405,7 +406,7 @@ strict_bool_controlling_expression(bool * Operator bool? scalar? * ! yes - * & yes yes - * The other binary operators do not accept bool operands. + * The other unary operators do not accept bool operands. */ void Index: src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp diff -u src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp:1.20 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp:1.21 --- src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp:1.20 Sat Mar 20 17:18:50 2021 +++ src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp Sun Mar 21 14:12:46 2021 @@ -1,152 +1,151 @@ -d_c99_bool_strict.c(126): argument #1 expects '_Bool', gets passed 'int' [334] 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(133): warning: constant in conditional context [161] -d_c99_bool_strict.c(136): warning: constant in conditional context [161] -d_c99_bool_strict.c(139): left operand of '?' must be bool, not 'int' [331] -d_c99_bool_strict.c(142): left operand of '?' must be bool, not 'int' [331] -d_c99_bool_strict.c(145): left operand of '?' must be bool, not 'int' [331] -d_c99_bool_strict.c(148): left operand of '?' must be bool, not 'int' [331] -d_c99_bool_strict.c(158): left operand of '?' must be bool, not 'int' [331] +d_c99_bool_strict.c(129): 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(162): warning: constant in conditional context [161] -d_c99_bool_strict.c(168): warning: constant in conditional context [161] -d_c99_bool_strict.c(168): left operand of '?' must be bool, not 'int' [331] -d_c99_bool_strict.c(170): integral constant expression expected [55] -d_c99_bool_strict.c(173): integral constant expression expected [55] -d_c99_bool_strict.c(176): integral constant expression expected [55] -d_c99_bool_strict.c(179): warning: constant in conditional context [161] -d_c99_bool_strict.c(179): integral constant expression expected [55] -d_c99_bool_strict.c(180): left operand of '||' must be bool, not 'int' [331] -d_c99_bool_strict.c(180): right operand of '||' must be bool, not 'int' [332] -d_c99_bool_strict.c(182): warning: constant in conditional context [161] -d_c99_bool_strict.c(182): integral constant expression expected [55] -d_c99_bool_strict.c(183): left operand of '&&' must be bool, not 'int' [331] -d_c99_bool_strict.c(183): right operand of '&&' must be bool, not 'int' [332] -d_c99_bool_strict.c(203): operands of '=' have incompatible types (_Bool != unsigned int) [107] -d_c99_bool_strict.c(205): operands of '=' have incompatible types (unsigned int != _Bool) [107] -d_c99_bool_strict.c(208): operands of '=' have incompatible types (_Bool != unsigned int) [107] -d_c99_bool_strict.c(210): operands of '=' have incompatible types (unsigned int != _Bool) [107] -d_c99_bool_strict.c(252): return value type mismatch (_Bool) and (int) [211] -d_c99_bool_strict.c(258): return value type mismatch (_Bool) and (int) [211] -d_c99_bool_strict.c(264): return value type mismatch (_Bool) and (int) [211] -d_c99_bool_strict.c(270): return value type mismatch (_Bool) and (pointer) [211] -d_c99_bool_strict.c(268): warning: argument p unused in function strict_bool_conversion_return_pointer [231] -d_c99_bool_strict.c(276): return value type mismatch (char) and (_Bool) [211] -d_c99_bool_strict.c(282): return value type mismatch (char) and (_Bool) [211] -d_c99_bool_strict.c(300): argument #2 expects 'int', gets passed '_Bool' [334] -d_c99_bool_strict.c(300): argument #3 expects 'pointer', gets passed '_Bool' [334] -d_c99_bool_strict.c(303): argument #1 expects '_Bool', gets passed 'int' [334] -d_c99_bool_strict.c(303): warning: illegal combination of pointer (pointer to const char) and integer (int), arg #3 [154] -d_c99_bool_strict.c(306): argument #1 expects '_Bool', gets passed 'pointer' [334] -d_c99_bool_strict.c(306): warning: illegal combination of integer (int) and pointer (pointer to const char), arg #2 [154] -d_c99_bool_strict.c(318): argument #1 expects '_Bool', gets passed 'int' [334] +d_c99_bool_strict.c(160): 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(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(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(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(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): 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(329): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(331): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(335): operands of '=' have incompatible types (int != _Bool) [107] -d_c99_bool_strict.c(337): operands of '=' have incompatible types (int != _Bool) [107] -d_c99_bool_strict.c(339): operands of '=' have incompatible types (int != _Bool) [107] -d_c99_bool_strict.c(340): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(351): operands of '=' have incompatible types (int != _Bool) [107] -d_c99_bool_strict.c(352): operands of '=' have incompatible types (unsigned int != _Bool) [107] -d_c99_bool_strict.c(353): operands of '=' have incompatible types (double != _Bool) [107] -d_c99_bool_strict.c(354): operands of '=' have incompatible types (pointer != _Bool) [107] -d_c99_bool_strict.c(344): warning: argument b unused in function strict_bool_conversion_from_bool_to_scalar [231] -d_c99_bool_strict.c(366): warning: constant in conditional context [161] -d_c99_bool_strict.c(369): warning: constant in conditional context [161] -d_c99_bool_strict.c(375): controlling expression must be bool, not 'int' [333] -d_c99_bool_strict.c(378): controlling expression must be bool, not 'int' [333] -d_c99_bool_strict.c(381): controlling expression must be bool, not 'int' [333] -d_c99_bool_strict.c(385): controlling expression must be bool, not 'int' [333] -d_c99_bool_strict.c(391): controlling expression must be bool, not 'double' [333] -d_c99_bool_strict.c(397): controlling expression must be bool, not 'pointer' [333] -d_c99_bool_strict.c(418): warning: constant in conditional context [161] -d_c99_bool_strict.c(418): warning: constant argument to NOT [239] +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(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(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(419): warning: constant in conditional context [161] d_c99_bool_strict.c(419): warning: constant argument to NOT [239] -d_c99_bool_strict.c(423): operand of '!' must be bool, not 'int' [330] +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(479): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(485): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(501): operand of '!' must be bool, not 'int' [330] -d_c99_bool_strict.c(502): left operand of '&&' must be bool, not 'int' [331] -d_c99_bool_strict.c(502): right operand of '&&' must be bool, not 'int' [332] -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(505): right operand of '&&' must be bool, not 'int' [332] -d_c99_bool_strict.c(506): left operand of '&&' must be bool, not 'int' [331] -d_c99_bool_strict.c(507): right operand of '||' must be bool, not 'int' [332] -d_c99_bool_strict.c(508): left operand of '||' must be bool, not 'int' [331] -d_c99_bool_strict.c(517): operand of '~' must not be bool [335] -d_c99_bool_strict.c(518): operand of '++x' 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 '+' must not be bool [335] -d_c99_bool_strict.c(523): operand of '-' must not be bool [335] -d_c99_bool_strict.c(525): left operand of '*' must not be bool [336] -d_c99_bool_strict.c(525): right operand of '*' must not be bool [337] -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(533): left operand of '<' must not be bool [336] -d_c99_bool_strict.c(533): 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(548): left operand of '*=' must not be bool [336] -d_c99_bool_strict.c(548): 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(560): left operand of '*' must not be bool [336] -d_c99_bool_strict.c(561): right operand of '*' must not be bool [337] -d_c99_bool_strict.c(562): left operand of '/' must not be bool [336] -d_c99_bool_strict.c(563): right operand of '/' must not be bool [337] -d_c99_bool_strict.c(564): left operand of '%' must not be bool [336] -d_c99_bool_strict.c(565): right operand of '%' must not be bool [337] -d_c99_bool_strict.c(566): left operand of '+' must not be bool [336] -d_c99_bool_strict.c(567): right operand of '+' must not be bool [337] -d_c99_bool_strict.c(568): left operand of '-' must not be bool [336] -d_c99_bool_strict.c(569): right operand of '-' must not be bool [337] -d_c99_bool_strict.c(570): left operand of '<<' must not be bool [336] -d_c99_bool_strict.c(571): right operand of '<<' must not be bool [337] -d_c99_bool_strict.c(572): left operand of '>>' must not be bool [336] -d_c99_bool_strict.c(573): right operand of '>>' must not be bool [337] -d_c99_bool_strict.c(575): operands of ':' have incompatible types (_Bool != unsigned int) [107] -d_c99_bool_strict.c(576): operands of ':' have incompatible types (unsigned int != _Bool) [107] -d_c99_bool_strict.c(582): warning: expression has null effect [129] +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(583): warning: expression has null effect [129] -d_c99_bool_strict.c(596): operands of '=' have incompatible types (char != _Bool) [107] -d_c99_bool_strict.c(597): operands of '=' have incompatible types (int != _Bool) [107] -d_c99_bool_strict.c(598): operands of '=' have incompatible types (double != _Bool) [107] -d_c99_bool_strict.c(599): operands of '=' have incompatible types (pointer != _Bool) [107] -d_c99_bool_strict.c(616): operands of '=' have incompatible types (int != _Bool) [107] +d_c99_bool_strict.c(584): warning: expression has null effect [129] +d_c99_bool_strict.c(597): operands of '=' have incompatible types (char != _Bool) [107] +d_c99_bool_strict.c(598): operands of '=' have incompatible types (int != _Bool) [107] +d_c99_bool_strict.c(599): operands of '=' have incompatible types (double != _Bool) [107] +d_c99_bool_strict.c(600): operands of '=' have incompatible types (pointer != _Bool) [107] d_c99_bool_strict.c(617): operands of '=' have incompatible types (int != _Bool) [107] d_c99_bool_strict.c(618): operands of '=' have incompatible types (int != _Bool) [107] d_c99_bool_strict.c(619): operands of '=' have incompatible types (int != _Bool) [107] @@ -155,13 +154,14 @@ d_c99_bool_strict.c(621): operands of '= d_c99_bool_strict.c(622): operands of '=' have incompatible types (int != _Bool) [107] d_c99_bool_strict.c(623): operands of '=' have incompatible types (int != _Bool) [107] d_c99_bool_strict.c(624): operands of '=' have incompatible types (int != _Bool) [107] -d_c99_bool_strict.c(662): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(670): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(677): operands of '=' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(652): warning: argument flags unused in function strict_bool_bitwise_and_enum [231] -d_c99_bool_strict.c(716): operands of '==' have incompatible types (_Bool != int) [107] -d_c99_bool_strict.c(728): warning: expression has null effect [129] -d_c99_bool_strict.c(740): right operand of '+' must not be bool [337] -d_c99_bool_strict.c(757): warning: constant in conditional context [161] -d_c99_bool_strict.c(768): operands of 'init' have incompatible types (_Bool != int) [107] +d_c99_bool_strict.c(625): operands of '=' have incompatible types (int != _Bool) [107] +d_c99_bool_strict.c(663): operands of '=' have incompatible types (_Bool != int) [107] +d_c99_bool_strict.c(671): operands of '=' have incompatible types (_Bool != int) [107] +d_c99_bool_strict.c(678): operands of '=' have incompatible types (_Bool != int) [107] +d_c99_bool_strict.c(653): warning: argument flags unused in function strict_bool_bitwise_and_enum [231] +d_c99_bool_strict.c(717): operands of '==' have incompatible types (_Bool != int) [107] +d_c99_bool_strict.c(729): warning: expression has null effect [129] +d_c99_bool_strict.c(741): right operand of '+' must not be bool [337] +d_c99_bool_strict.c(758): warning: constant in conditional context [161] d_c99_bool_strict.c(769): operands of 'init' have incompatible types (_Bool != int) [107] +d_c99_bool_strict.c(770): operands of 'init' have incompatible types (_Bool != int) [107]