diff options
author | Clint Adams <clint@debian.org> | 2013-05-09 01:03:12 -0400 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2013-05-09 01:03:12 -0400 |
commit | d75f3c567505ad7acd2c1943207b367593652739 (patch) | |
tree | e519be160770e6b20bfe88eb923ea6aa8edb3e58 /lib/regex.c | |
parent | 86bbc911e93efe1f0957ee887182b3d64bb0eec4 (diff) |
Imported Upstream version 4.2.2
Diffstat (limited to 'lib/regex.c')
-rw-r--r-- | lib/regex.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/regex.c b/lib/regex.c index 4b13ec5..ca4cc9d 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -1,7 +1,7 @@ /* -*- buffer-read-only: t -*- vi: set ro: */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Extended regular expression matching and search library. - Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. @@ -16,12 +16,20 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include <config.h> +#ifndef _LIBC +# include <config.h> -/* Make sure noone compiles this code with a C++ compiler. */ +# if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ +# pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" +# endif +# if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__ +# pragma GCC diagnostic ignored "-Wtype-limits" +# endif +#endif + +/* Make sure no one compiles this code with a C++ compiler. */ #if defined __cplusplus && defined _LIBC # error "This is C code, use a C compiler" #endif |