Possibly an annoying test in configure
Dennis Clarke
dclarke at blastwave.org
Sun Aug 20 21:09:45 CEST 2023
On 8/20/23 05:48, Torbjörn Granlund wrote:
> Niels Möller <nisse at lysator.liu.se> writes:
>
> I would *not* want to support -Werror as something to be used in general
> by users, with arbitrary compiler versions, compile flag tweaks, etc.
>
> Indeed.
>
> There is a fashion among compiler maintainers to accept an ever
> decreasing subset of C, making any effort at producing accepted code a
> wild goose chase.
>
> I think warnings have gone from useful to mostly annoying, and that's
> already without "-Werror"-like flags.
>
Pretty sure that should be "int main (void) { return 0; } ".
How hard can it be to patch that in the configure.ac autotools stuff?
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
More information about the gmp-bugs
mailing list