Commit b8f6a302 by Richard Biener Committed by Richard Biener

re PR bootstrap/55784 (declaration of C function 'const char* strsignal(int)'…

re PR bootstrap/55784 (declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration)

2013-01-02  Richard Biener  <rguenther@suse.de>

	PR bootstrap/55784
	* configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
	* configure: Regenerate.

	ada/
	* gcc-interface/Makefile.in: Add $(GMPINC) to includes.

From-SVN: r194804
parent 0469274e
2013-01-02 Richard Biener <rguenther@suse.de>
PR bootstrap/55784
* configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
* configure: Regenerate.
2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
2013-01-02 Richard Biener <rguenther@suse.de>
PR bootstrap/55784
* gcc-interface/Makefile.in: Add $(GMPINC) to includes.
2013-01-02 Thomas Quinot <quinot@adacore.com> 2013-01-02 Thomas Quinot <quinot@adacore.com>
* exp_intr.adb (Expand_Dispatching_Constructor_Call): Remove * exp_intr.adb (Expand_Dispatching_Constructor_Call): Remove
......
...@@ -273,7 +273,7 @@ endif ...@@ -273,7 +273,7 @@ endif
# Both . and srcdir are used, in that order, # Both . and srcdir are used, in that order,
# so that tm.h and config.h will be found in the compilation # so that tm.h and config.h will be found in the compilation
# subdirectory rather than in the source directory. # subdirectory rather than in the source directory.
INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include $(GMPINC)
ADA_INCLUDES = -I- -I. -I$(srcdir)/ada ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
...@@ -283,11 +283,11 @@ ADA_INCLUDES = -I- -I. -I$(srcdir)/ada ...@@ -283,11 +283,11 @@ ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
ifneq ($(findstring vxworks,$(osys)),) ifneq ($(findstring vxworks,$(osys)),)
INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \ INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
-iquote $(fsrcdir)/ada \ -iquote $(fsrcdir)/ada \
-I$(fsrcdir)/../include -I$(fsrcdir)/../include $(GMPINC)
else else
INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \ INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
-iquote $(fsrcdir)/ada -iquote $(fsrcdir) \ -iquote $(fsrcdir)/ada -iquote $(fsrcdir) \
-I$(fsrcdir)/../include -I$(fsrcdir)/../include $(GMPINC)
endif endif
ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada
......
...@@ -10321,9 +10321,9 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h ...@@ -10321,9 +10321,9 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
# We will need to find libiberty.h and ansidecl.h # We will need to find libiberty.h and ansidecl.h
saved_CFLAGS="$CFLAGS" saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include" CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
saved_CXXFLAGS="$CXXFLAGS" saved_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include" CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \ for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \
strsignal strstr stpcpy strverscmp \ strsignal strstr stpcpy strverscmp \
errno snprintf vsnprintf vasprintf malloc realloc calloc \ errno snprintf vsnprintf vasprintf malloc realloc calloc \
......
...@@ -1098,9 +1098,9 @@ AM_LANGINFO_CODESET ...@@ -1098,9 +1098,9 @@ AM_LANGINFO_CODESET
# We will need to find libiberty.h and ansidecl.h # We will need to find libiberty.h and ansidecl.h
saved_CFLAGS="$CFLAGS" saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include" CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
saved_CXXFLAGS="$CXXFLAGS" saved_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include" CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
gcc_AC_CHECK_DECLS(getenv atol asprintf sbrk abort atof getcwd getwd \ gcc_AC_CHECK_DECLS(getenv atol asprintf sbrk abort atof getcwd getwd \
strsignal strstr stpcpy strverscmp \ strsignal strstr stpcpy strverscmp \
errno snprintf vsnprintf vasprintf malloc realloc calloc \ errno snprintf vsnprintf vasprintf malloc realloc calloc \
......
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