X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpropername.c;h=79c6b08e45ea135bd96369f74ee624781dae963e;hb=4f044de87e05bee61005c48bb93f3bb9a4b76461;hp=b74923de957f88afe165c00fbc73ac149dcebcb6;hpb=6829a6c0c428c91768aa4314752ba92b1340e11b;p=gnulib.git diff --git a/lib/propername.c b/lib/propername.c index b74923de9..79c6b08e4 100644 --- a/lib/propername.c +++ b/lib/propername.c @@ -1,5 +1,5 @@ /* Localization of proper names. - Copyright (C) 2006-2011 Free Software Foundation, Inc. + Copyright (C) 2006-2012 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -15,6 +15,12 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* Without this pragma, gcc 4.7.0 20111124 mistakenly suggests that + the proper_name function might be candidate for attribute 'const' */ +#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ +# pragma GCC diagnostic ignored "-Wsuggest-attribute=const" +#endif + #include /* Specification. */