summaryrefslogtreecommitdiffstats
path: root/gl/lib/intprops-internal.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:38:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:38:57 +0000
commitf5b6b735a731901f09d7f3cc153c1d869269ee83 (patch)
tree565a1b0f3c6a4094a5f2198879fb239053549f1e /gl/lib/intprops-internal.h
parentAdding upstream version 2.12.0. (diff)
downloadman-db-f5b6b735a731901f09d7f3cc153c1d869269ee83.tar.xz
man-db-f5b6b735a731901f09d7f3cc153c1d869269ee83.zip
Adding upstream version 2.12.1.upstream/2.12.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gl/lib/intprops-internal.h')
-rw-r--r--gl/lib/intprops-internal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/lib/intprops-internal.h b/gl/lib/intprops-internal.h
index 0467a9c..c8a87d2 100644
--- a/gl/lib/intprops-internal.h
+++ b/gl/lib/intprops-internal.h
@@ -1,6 +1,6 @@
/* intprops-internal.h -- properties of integer types not visible to users
- Copyright (C) 2001-2023 Free Software Foundation, Inc.
+ Copyright (C) 2001-2024 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
@@ -20,6 +20,11 @@
#include <limits.h>
+/* Pacify GCC 13.2 in some calls to _GL_EXPR_SIGNED. */
+#if defined __GNUC__ && 4 < __GNUC__ + (3 <= __GNUC_MINOR__)
+# pragma GCC diagnostic ignored "-Wtype-limits"
+#endif
+
/* Return a value with the common real type of E and V and the value of V.
Do not evaluate E. */
#define _GL_INT_CONVERT(e, v) ((1 ? 0 : (e)) + (v))