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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user