Re: [PATCH 1/3] tests: suppress some unwanted -fanalyzer checking

2023-04-24 Thread Bruno Haible
Paul Eggert wrote: > Unless I'm misunderstanding you things should work as-is, as > manywarnings should omit a -Wxxx option if gcc complains that it's not > supported. It could be that a warning option is accepted by the front-end's option parser, but unknown to the #pragma handler. > And anywa

Re: [PATCH 1/3] tests: suppress some unwanted -fanalyzer checking

2023-04-24 Thread Paul Eggert
On 4/24/23 15:20, Bruno Haible wrote: This patch fixes them. Thanks for catching that; I had been testing only with GCC 13 and looking at the GCC doc (evidently incorrectly) for the GCC version. since it's not possible to silence these diagnostics with GCC 10, 11, 12, if you don't want them

[PATCH 1/3] tests: suppress some unwanted -fanalyzer checking

2023-04-24 Thread Paul Eggert
* tests/test-dup2.c, tests/test-fcntl.c, tests/test-fopen.h: * tests/test-getdtablesize.c, tests/test-listen.c: * tests/test-localename.c, tests/test-open.h, tests/test-perror2.c: * tests/test-select.h: Add pragmas to disable unwanted -fanalyzer checking. --- ChangeLog | 9 +++