[PATCH] maint: update comment gcc-4.6.2 still botches -Wsuggest-attribut (original) (raw)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Jim Meyering
Subject: [PATCH] maint: update comment gcc-4.6.2 still botches -Wsuggest-attribute=pure
Date: Sun, 27 Nov 2011 13:56:54 +0100

FYI,

Worth updating, because if you follow the advice provoked by this warning option (i.e., you declare test.c's advance function with the pure attribute), gcc will then compile test in such a way that the program infloops.

From 040bc8b50fe36120ed3fec10575df2590b081eca Mon Sep 17 00:00:00 2001 From: Jim Meyering <address@hidden> Date: Sun, 27 Nov 2011 13:51:40 +0100 Subject: [PATCH] maint: update comment gcc-4.6.2 still botches -Wsuggest-attribute=pure


configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac index 3c4681c..a174178 100644 --- a/configure.ac +++ b/configure.ac @@ -124,7 +124,7 @@ if test "$gl_gcc_warnings" = yes; then gl_WARN_ADD([-Wno-format-nonliteral]) gl_WARN_ADD([-Wno-unsuffixed-float-constants])

-- 1.7.8.rc3.31.g017d1



[Prev in Thread] Current Thread [Next in Thread]