diff options
author | Jim Meyering <meyering@redhat.com> | 2011-11-29 10:09:41 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-11-29 10:09:55 +0100 |
commit | 2ae12d77e599965beb1483c10edb1f2f290bafc1 (patch) | |
tree | 9de4b60210959367f59db7b3b5046ca761505a2b /lib/quotearg.c | |
parent | 69f517e5975418e7b2c5033f8f60191919f44b9d (diff) | |
download | gnulib-2ae12d77e599965beb1483c10edb1f2f290bafc1.tar.gz |
quotearg, propername: correct pragma guard expression
* lib/quotearg.c: Enable pragma for gcc-4.6 and newer, not 4.3 and newer.
* lib/propername.c: Likewise. Reported by Bernhard Voelker.
Diffstat (limited to 'lib/quotearg.c')
-rw-r--r-- | lib/quotearg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c index 3c154117da..03fbfe7972 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -20,7 +20,7 @@ /* Without this pragma, gcc 4.7.0 20111124 mistakenly suggests that the quoting_options_from_style function might be candidate for attribute 'pure' */ -#if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__ +#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ # pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" #endif |