diff options
| author | Paul Eggert | 2025-01-26 22:15:49 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-01-26 23:05:54 -0800 |
| commit | 8d8272d02e38ee3624cd3f16767f3c60fb3383ea (patch) | |
| tree | 5d3f30a9437021602dc61e83468d6bffac71b833 /src | |
| parent | 728c7904fef23059524eeab3193e1634a98d1d35 (diff) | |
| download | emacs-8d8272d02e38ee3624cd3f16767f3c60fb3383ea.tar.gz emacs-8d8272d02e38ee3624cd3f16767f3c60fb3383ea.zip | |
Ignore -fanalyzer-null-argument in pgtkterm.c
* src/pgtkterm.c: Ignore -Wanalyzer-null-dereference.
I don’t have time to look into all the diagnostics,
but the ones I checked seemed to be false alarms with
gcc -std=gnu23 on x86-64, and we are ignoring this
diagnostic in other modules. This is GCC 14.2.1
20250110 (Red Hat 14.2.1-7).
Diffstat (limited to 'src')
| -rw-r--r-- | src/pgtkterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 1d679f0cf57..1f468300deb 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c | |||
| @@ -22,6 +22,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 22 | interpretation of even the system includes. */ | 22 | interpretation of even the system includes. */ |
| 23 | #include <config.h> | 23 | #include <config.h> |
| 24 | 24 | ||
| 25 | /* Work around GCC bug 102671. */ | ||
| 26 | #if 10 <= __GNUC__ | ||
| 27 | # pragma GCC diagnostic ignored "-Wanalyzer-null-dereference" | ||
| 28 | #endif | ||
| 29 | |||
| 25 | #include <cairo.h> | 30 | #include <cairo.h> |
| 26 | #include <fcntl.h> | 31 | #include <fcntl.h> |
| 27 | #include <math.h> | 32 | #include <math.h> |