|
From: | Paul Eggert |
Subject: | Re: [PATCH 1/3] tests: suppress some unwanted -fanalyzer checking |
Date: | Mon, 24 Apr 2023 16:14:53 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
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 to be present, I guess you'll need to touch the 'manywarnings' module, to not enable them in these releases of GCC, i.e. only enable them for GCC >= 13?
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. And anyway manywarnings doesn't mention the relevant -Wxxx options; they're merely implied by -fanalyzer (and are listed as such in build-aux/gcc-warning.spec).
[Prev in Thread] | Current Thread | [Next in Thread] |