diff options
| author | Po Lu | 2024-09-05 08:41:11 +0800 |
|---|---|---|
| committer | Po Lu | 2024-09-05 08:45:18 +0800 |
| commit | 1a13c5e63e1eb8fcf15c53ae4ed0caca8b928a3b (patch) | |
| tree | a40610febdebe7a02acf3981b7f966b323c0d1c3 /lib/diffseq.h | |
| parent | a13eef1fae00411bc03165933870de73d10551af (diff) | |
| download | emacs-1a13c5e63e1eb8fcf15c53ae4ed0caca8b928a3b.tar.gz emacs-1a13c5e63e1eb8fcf15c53ae4ed0caca8b928a3b.zip | |
; Update from Gnulib
* configure.ac:
* src/conf_post.h: Remove workarounds now rendered redundant by
Gnulib.
Diffstat (limited to 'lib/diffseq.h')
| -rw-r--r-- | lib/diffseq.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/diffseq.h b/lib/diffseq.h index 0c5bc9cbc6d..c9369e44100 100644 --- a/lib/diffseq.h +++ b/lib/diffseq.h | |||
| @@ -93,10 +93,14 @@ | |||
| 93 | #endif | 93 | #endif |
| 94 | 94 | ||
| 95 | /* Suppress gcc's "...may be used before initialized" warnings, | 95 | /* Suppress gcc's "...may be used before initialized" warnings, |
| 96 | generated by GCC versions up to at least GCC 13.2. */ | 96 | generated by GCC versions up to at least GCC 14.2. |
| 97 | #if __GNUC__ + (__GNUC_MINOR__ >= 7) > 4 | 97 | Likewise for gcc -fanalyzer's "use of uninitialized value" warnings. */ |
| 98 | #if _GL_GNUC_PREREQ (4, 7) | ||
| 98 | # pragma GCC diagnostic push | 99 | # pragma GCC diagnostic push |
| 99 | # pragma GCC diagnostic ignored "-Wmaybe-uninitialized" | 100 | # pragma GCC diagnostic ignored "-Wmaybe-uninitialized" |
| 101 | # if _GL_GNUC_PREREQ (13, 0) | ||
| 102 | # pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value" | ||
| 103 | # endif | ||
| 100 | #endif | 104 | #endif |
| 101 | 105 | ||
| 102 | /* | 106 | /* |
| @@ -554,7 +558,7 @@ compareseq (OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim, | |||
| 554 | #undef XREF_YREF_EQUAL | 558 | #undef XREF_YREF_EQUAL |
| 555 | } | 559 | } |
| 556 | 560 | ||
| 557 | #if __GNUC__ + (__GNUC_MINOR__ >= 7) > 4 | 561 | #if _GL_GNUC_PREREQ (4, 7) |
| 558 | # pragma GCC diagnostic pop | 562 | # pragma GCC diagnostic pop |
| 559 | #endif | 563 | #endif |
| 560 | 564 | ||