diff options
Diffstat (limited to 'lib/diffseq.h')
| -rw-r--r-- | lib/diffseq.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/diffseq.h b/lib/diffseq.h index 8a823f98ea0..914bc643bb4 100644 --- a/lib/diffseq.h +++ b/lib/diffseq.h | |||
| @@ -77,6 +77,11 @@ | |||
| 77 | #include "minmax.h" | 77 | #include "minmax.h" |
| 78 | */ | 78 | */ |
| 79 | 79 | ||
| 80 | /* This file uses _GL_GNUC_PREREQ. */ | ||
| 81 | #if !_GL_CONFIG_H_INCLUDED | ||
| 82 | #error "Please include config.h first." | ||
| 83 | #endif | ||
| 84 | |||
| 80 | /* Maximum value of type OFFSET. */ | 85 | /* Maximum value of type OFFSET. */ |
| 81 | #ifndef OFFSET_MAX | 86 | #ifndef OFFSET_MAX |
| 82 | # define OFFSET_MAX \ | 87 | # define OFFSET_MAX \ |
| @@ -93,7 +98,7 @@ | |||
| 93 | #endif | 98 | #endif |
| 94 | 99 | ||
| 95 | /* Suppress gcc's "...may be used before initialized" warnings, | 100 | /* Suppress gcc's "...may be used before initialized" warnings, |
| 96 | generated by GCC versions up to at least GCC 14.2. | 101 | generated by GCC versions up to at least GCC 15.1. |
| 97 | Likewise for gcc -fanalyzer's "use of uninitialized value" warnings. */ | 102 | Likewise for gcc -fanalyzer's "use of uninitialized value" warnings. */ |
| 98 | #if _GL_GNUC_PREREQ (4, 7) | 103 | #if _GL_GNUC_PREREQ (4, 7) |
| 99 | # pragma GCC diagnostic push | 104 | # pragma GCC diagnostic push |