decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro definition of strcpy from generating compilation...

* decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
	definition of strcpy from generating compilation warnings.


Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r109351
This commit is contained in:
Roger Sayle 2006-01-04 21:22:34 +00:00 committed by Roger Sayle
parent 1916e588f3
commit 7a6d30ce0d
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-01-03 Roger Sayle <roger@eyesopen.com>
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
definition of strcpy from generating compilation warnings.
2006-01-02 Paolo Bonzini <bonzini@gnu.org>
PR target/25259

View File

@ -149,6 +149,10 @@
/* -ve -- negative */
/* ------------------------------------------------------------------ */
/* Some of glibc's string inlines cause warnings. Plus we'd rather
rely on (and therefore test) GCC's string builtins. */
#define __NO_STRING_INLINES
#include <stdlib.h> /* for malloc, free, etc. */
#include <stdio.h> /* for printf [if needed] */
#include <string.h> /* for strcpy */