Re: [PATCH] Drop -pedantic from CFLAGS
Alejandro Colomar via Mutt-dev <[email protected]>
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <aY9Q6q2uYBAQu5Bp@devuan> |
On 2026-02-13T17:07:35+0100, Rene Kita wrote: > On Fri, Feb 13, 2026 at 05:57:28PM +0800, Kevin J. McCarthy wrote: > > On Fri, Feb 13, 2026 at 09:27:43AM +0100, Rene Kita wrote: > > > Consensus is that it does more harm than good. > > > --- > > > configure.ac | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Whoops, I apologize. I didn't express myself clearly. At the time I > > No worries. > > > thought we were talking about disabling it in the sr.ht CI builds that were > > causing you to contort to get working with -Werror also enabled. > > > > While I'm not absolutely against removing -pedantic, my limited > > understanding was that "-Wall -pedantic" was a pretty good combination to > > ensure code is more compatible with other compilers and environments. > > > > I'd like to hear other opinions before we completely drop it from our > > default compiler options. > > I prefer removing it, but am OK with keeping it also. -pedantic is too > strict. To make sure we are compatible with other compilers we should > actually build with them. > > But CI should reflect the regular build. The only reason I manually > added the CFLAGS in the builds was that I did not manage to keep the > defaults _and_ add -Werror to them (and I decided that I already > invested too much time and doing it manually was the better solution for > now). > > IMHO, CI run should always run with -Werror to make any new warning a > hard stop. Then after reviewing it we can add an exception. +1 -- <https://www.alejandro-colomar.es>
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmmPUO8ACgkQ64mZXMKQ wqnyeQ/+NOGYZm5A2TmJNKrDm3YOhExsKsUIpQ8PV2I++G51kNOECI6DjhkouRNk SGhcn60akThFiYcAX22vIE3JElQ3mLHBrMOGxgBVMNuY4dKVggh0ZJSCoGTRrCxb YxNgh6f2HIUJ9u1wFsVs38Mz0AEZAdvOMTCip2CENwq0xwMC6vOQA8CIRMm3uZek ahC3wZZJnPi8eSFtY86WmFAcpuN8KcfvIgnIChFVkrTVZQoxuTg1S4Q5pHaBzl2W eo6g/MnZPa4+EGbwdgf3WFZsXAiVVMdqwA3ODaiRkvus8BqgcYsGPFhczPZMttJA 8qZXY2yaVcglsevZ2rBzYHQwI6nn2b8XsF7aJI4yl/psSU+ans+FGbSoMPQ3fwzK gKKNK+NV4643eM5uoj3izanck23d0JGidP+/945C6eMuX8bunJNcladSuRI5iSaQ dt9h1UPUrTwRIF0h7uetcNeYlWjqSqMx3IWh6Bn8F5V1bpL1YEwN4AaVTbB7/0HG kfQcBhin0SdCWTrtsjU2K3zbDk2dG2MSh5/AtVS0pJhYpp68TG+4HGbgZYgAIo7+ TsZGxO84OypoOQEjKJxhgRe/HNBpedptW1Pd4gXbcacJ9unAZhyLqXjTSggNyKQ9 Ib+IF2LynFdZLvIiFWaxAqYG5E7b+eNIYmzD7eLrksjrYXuUouU= =CzXV -----END PGP SIGNATURE-----