GNU bug report logs - #75964
Switching the Emacs build to -Wswitch-enum in src/

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> protonmail.com>

Date: Fri, 31 Jan 2025 09:41:02 UTC

Severity: wishlist

Full log


Message #158 received at 75964 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: pipcet <at> protonmail.com, acorallo <at> gnu.org, 75964 <at> debbugs.gnu.org,
 monnier <at> iro.umontreal.ca, stefankangas <at> gmail.com
Subject: Re: bug#75964: Switching the Emacs build to -Wswitch-enum in src/
Date: Mon, 03 Feb 2025 14:31:21 +0200
> Date: Sun, 2 Feb 2025 19:52:04 -0800
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 75964 <at> debbugs.gnu.org,
>  stefankangas <at> gmail.com, Andrea Corallo <acorallo <at> gnu.org>,
>  Pip Cet <pipcet <at> protonmail.com>
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> 
> On 2025-02-02 19:01, Stefan Monnier wrote:
> > I hate `#pragma`.
> 
> I'm not a fan either. Luckily my suggestion[1][2] doesn't use #pragma.

We use #pragma only as the last resort, and I think we should keep
doing that.




This bug report was last modified 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.