mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-12 18:27:40 +08:00
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:
parent
1916e588f3
commit
7a6d30ce0d
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user