mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-31 21:01:23 -08:00
Work around GCC bug 102671
This is for --enable-gcc-warnings on GCC 11.2.1. * src/window.c, src/timefns.c: Disable -Wanalyzer-null-dereference.
This commit is contained in:
parent
ac06608878
commit
0d374b1b83
2 changed files with 10 additions and 0 deletions
|
|
@ -19,6 +19,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
|
||||
#include <config.h>
|
||||
|
||||
/* Work around GCC bug 102671. */
|
||||
#if 10 <= __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wanalyzer-null-dereference"
|
||||
#endif
|
||||
|
||||
#include "systime.h"
|
||||
|
||||
#include "blockinput.h"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
|
||||
#include <config.h>
|
||||
|
||||
/* Work around GCC bug 102671. */
|
||||
#if 10 <= __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wanalyzer-null-dereference"
|
||||
#endif
|
||||
|
||||
#include "lisp.h"
|
||||
#include "buffer.h"
|
||||
#include "keyboard.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue