Re: [PATCH 1/4] manywarnings: omit -fno-common in GCC 10+

2023-04-23 Thread Sam James
Paul Eggert writes: > * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Omit -fno-common > in GCC 10 and later, as it is the default there. I think this is fine, but I'd note that (to my surprise), nixpkgs inverted this default for a while. But I don't think that changes what you should do here.

[PATCH 1/4] manywarnings: omit -fno-common in GCC 10+

2023-04-23 Thread Paul Eggert
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Omit -fno-common in GCC 10 and later, as it is the default there. Check exit status of ‘gcc --version’. --- ChangeLog | 7 +++ m4/manywarnings.m4 | 11 --- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog