Commit b767da73 by Jack Howarth Committed by Ian Lance Taylor

re PR bootstrap/46650 (r167010 breaks --enable-build-with-cxx)

	PR bootstrap/46650
	* system.h: Include cstring for cxx bootstrap.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r167764
parent e2d3a4bb
2010-12-13 Jack Howarth <howarth@bromo.med.uc.edu>
Joseph Myers <joseph@codesourcery.com>
PR bootstrap/46650
* system.h: Include cstring for cxx bootstrap.
2010-12-13 Jakub Jelinek <jakub@redhat.com> 2010-12-13 Jakub Jelinek <jakub@redhat.com>
PR lto/46879 PR lto/46879
...@@ -190,6 +190,10 @@ extern int fprintf_unlocked (FILE *, const char *, ...); ...@@ -190,6 +190,10 @@ extern int fprintf_unlocked (FILE *, const char *, ...);
extern int errno; extern int errno;
#endif #endif
#ifdef __cplusplus
# include <cstring>
#endif
/* Some of glibc's string inlines cause warnings. Plus we'd rather /* Some of glibc's string inlines cause warnings. Plus we'd rather
rely on (and therefore test) GCC's string builtins. */ rely on (and therefore test) GCC's string builtins. */
#define __NO_STRING_INLINES #define __NO_STRING_INLINES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment