[sr #111063] How to force ANSI C compiler parameters?
Zack Weinberg <[email protected]> Tue, 27 Jan 2026 11:39:51 -0500 (EST)
| Newsgroups | gmane.comp.sysutils.autoconf.bugs |
|---|---|
| Message-ID | <[email protected]> |
Update of sr #111063 (group autoconf):
Priority: 5 - Unprioritized => 2 - Eventually
Status: None => Duplicate
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
FYI, `-ansi` is an alias for `-std=c89` which is almost certainly not what you
actually want.
This is effectively <https://savannah.gnu.org/support/?110286> and I'm going
to treat this feature request as a duplicate of that report.
I have *seen* add-on autoconf macros to enable warning options from the
compiler, but I am not having any luck finding them this morning. The test
programs generated by Autoconf often do things that provoke compiler warnings,
which is why we don't offer such a macro ourselves yet.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111063>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaXjqVwAKCRCqLAuaBUf3 ToQeAP46fRCpoO8pd0Kqgf2+N9RH3ORQjlpQ19LwYHNFbqDE5QEA4PUkIpu3hqa6 kNKHjmsK8XlF5WxpnmhfPtkrBGl2aA0= =Fhik -----END PGP SIGNATURE-----