Skip to content
Success

Changes

Summary

  1. Remove uses of warnings to show test success.  Eliminate simple causes of other warnings from affected tests and remove the result from WFLAG_OPT_LAX. (details)
  2. Restore full sense of wflag strictness, mistakenly reduced in 2853d6fb0. (details)
  3. Fix a warning missed in 2853d6fb0. (details)
Commit 2853d6fb02befcb65b90aa2717750f5b7e57ad95 by Michael Brooks
Remove uses of warnings to show test success.  Eliminate simple causes of other warnings from affected tests and remove the result from WFLAG_OPT_LAX.

Many affected tests also formerly used -fsyntax-only to avoid errors at later compilation stages, or at runtime.  Repair such tests to actually work though runtime, and remove them from SYNTAX_ONLY_CODE.

Group tests listed under WFLAGS_OPT according to why they should receive lax treatment.  Add reason WFLGAS_OPT_LAX_EXPECT_WARN and give the original list reason WFLGAS_OPT_LAX_TO_INVESTIGATE.

Tests whose purpose is to show a warning are listed as both SYNTAX_ONLY_CODE (so that the warning is the output) and WFLGAS_OPT_LAX_EXPECT_WARN (to document this fact).
The file was modifiedtests/.expect/array-ERR3.txt
The file was modifiedtests/cast.cfa
The file was modifiedtests/.expect/cast.txt
The file was modifiedtests/.expect/array.txt
The file was modifiedtests/.expect/expression.txt
The file was modifiedtests/.expect/numericConstants.txt
The file was modifiedtests/concurrency/waitfor/parse.cfa
The file was modifiedtests/.expect/init1.txt
The file was modifiedtests/include/stdincludes.cfa
The file was modifiedtests/concurrency/waitfor/.expect/parse.txt
The file was modifiedtests/include/includes.cfa
The file was modifiedtests/builtins/sync.cfa
The file was modifiedtests/.expect/nested-types.txt
The file was modifiedtests/.expect/attr-priority.txt
The file was modifiedtests/quasiKeyword.cfa
The file was modifiedtests/identFuncDeclarator.cfa
The file was modifiedtests/array.cfa
The file was modifiedtests/nested-types.cfa
The file was modifiedtests/ctrl-flow/labelledExit.cfa
The file was modifiedtests/expression.cfa
The file was modifiedtests/variableDeclarator.cfa
The file was modifiedtests/.expect/identFuncDeclarator.txt
The file was modifiedtests/init1.cfa
The file was modifiedtests/.expect/typedefRedef-ERR1.txt
The file was modifiedtests/include/.expect/includes.txt
The file was modifiedtests/.expect/limits.txt
The file was modifiedtests/warnings/self-assignment.cfa
The file was modifiedtests/.expect/switch.txt
The file was modifiedtests/typedefRedef.cfa
The file was modifiedtests/.expect/array-ERR1.txt
The file was modifiedtests/warnings/.expect/self-assignment.txt
The file was modifiedtests/attr-priority.cfa
The file was modifiedtests/.expect/array-ERR2.txt
The file was modifiedtests/.expect/typedefRedef.txt
The file was modifiedtests/Makefile.am
The file was modifiedtests/ctrl-flow/.expect/labelledExit.txt
The file was modifiedtests/numericConstants.cfa
The file was modifiedtests/.expect/nested-types-ERR1.txt
The file was modifiedtests/.expect/quasiKeyword.txt
The file was modifiedtests/limits.cfa
The file was modifiedtests/include/.expect/stdincludes.txt
The file was modifiedtests/switch.cfa
The file was modifiedtests/.expect/init1-ERROR.txt
The file was modifiedtests/.expect/nested-types-ERR2.txt
The file was modifiedtests/builtins/.expect/sync.txt
The file was modifiedtests/.expect/variableDeclarator.txt
Commit 656c8ac30a1b2b1d963a9dbd8ab1d0800aaad6be by Michael Brooks
Restore full sense of wflag strictness, mistakenly reduced in 2853d6fb0.
The file was modifiedtests/Makefile.am
Commit 2a3211807a5fbb8c333a576302827e988e66d153 by Michael Brooks
Fix a warning missed in 2853d6fb0.
The file was modifiedtests/.expect/array-ERR2.txt
The file was modifiedtests/.expect/array-ERR3.txt
The file was modifiedtests/array.cfa
The file was modifiedtests/.expect/array-ERR1.txt