---
Dear maintainer,

GCC under version 4.6 are not widely used anymore. Users on systems that
use LLVM-Clang by default such as macOS have difficulties in building m4 
because of
this macro. I think we can delete these lines for better compatibility.

Regards,

 src/format.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/format.c b/src/format.c
index 40a10ebf..47450564 100644
--- a/src/format.c
+++ b/src/format.c
@@ -349,10 +349,8 @@ expand_format (struct obstack *obs, int argc, token_data 
**argv)
       *p = '\0';
 
       /* Our constructed format string in fstart is safe.  */
-#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
 # pragma GCC diagnostic push
 # pragma GCC diagnostic ignored "-Wformat-nonliteral"
-#endif
 
       switch (datatype)
         {

base-commit: bb35e808e09f757fb67fbbc260401530dfb82d66
-- 
2.37.1 (Apple Git-137.1)


_______________________________________________
M4-patches mailing list
M4-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to