1
Fork 0
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:
Paul Eggert 2021-10-11 09:23:47 -07:00
parent ac06608878
commit 0d374b1b83
2 changed files with 10 additions and 0 deletions

View file

@ -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"

View file

@ -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"