summaryrefslogtreecommitdiffstats
path: root/gl/lib/intprops-internal.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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))