Ignore:
Timestamp:
Jan 2, 2025, 7:00:01 PM (3 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
656c8ac
Parents:
a6b48f6
Message:

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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/include/includes.cfa

    ra6b48f6 r2853d6f  
    171171
    172172int main() {
    173     #pragma GCC warning "Compiled"                                                      // force non-empty .expect file, NO TABS!!!
     173    printf("done\n");
    174174}
    175175
Note: See TracChangeset for help on using the changeset viewer.