From 4f6545e79c4a7cd7feb2c8f23f1d5167e7165907 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 31 Dec 2023 08:33:17 -0800 Subject: [PATCH] autoupdate --- lib/regex.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/regex.c b/lib/regex.c index f050ba8de4..3beb0deb98 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -26,6 +26,10 @@ # pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" # pragma GCC diagnostic ignored "-Wvla" # endif +# if __GNUC_PREREQ (4, 3) +# pragma GCC diagnostic ignored "-Wold-style-definition" +# pragma GCC diagnostic ignored "-Wtype-limits" +# endif #endif /* Make sure no one compiles this code with a C++ compiler. */ -- 2.39.5