From ad55efad1f1becad334f0fe50ba2ea420d7444ea Mon Sep 17 00:00:00 2001 From: Eric Blake <eblake@redhat.com> Date: Tue, 29 Nov 2011 15:01:22 -0700 Subject: [PATCH] manywarnings: drop -Wunsuffixed-float-constants * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): C99 does not allow '1.0D', which is the only way to silence this warning for 'double'. Signed-off-by: Eric Blake <eblake@redhat.com> --- ChangeLog | 6 ++++++ m4/manywarnings.m4 | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 15118d9419..95d71fd39e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-29 Eric Blake <eblake@redhat.com> + + manywarnings: drop -Wunsuffixed-float-constants + * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): C99 does not allow + '1.0D', which is the only way to silence this warning for 'double'. + 2011-11-29 Jim Meyering <meyering@redhat.com> hash: mark compute_bucket_size with the pure attribute diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4 index 6e78c07d46..23bc61cbc8 100644 --- a/m4/manywarnings.m4 +++ b/m4/manywarnings.m4 @@ -1,4 +1,4 @@ -# manywarnings.m4 serial 1 +# manywarnings.m4 serial 2 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -171,7 +171,6 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC], -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=pure \ -Wtrampolines \ - -Wunsuffixed-float-constants \ ; do gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" done -- 2.39.5