This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFR fixincludes header consistency


The attached patch is adding check for the declarations
of asprintf(), basename() and vasprintf(). The code itself doesn't
actually use them. However libiberty.h is declaring them conditionally and
compilers more stringent about declarations then plain GCC c compiler will
mourn it. This patch is thus intended to provide consistency between the way
how libiberty.h is used overall. (It's of course exposing once again
the 1000'nth time a conceptual weakness of the autoconf system...)


OK to apply to trunk?

2006-01-31 Marcin Dalecki <martin@dalecki.de>

	* fixincludes/config.h.in: Declare HAVE_DECL_ASPRINTF,
	HAVE_DECL_BASENAME, HAVE_DECL_VASPRINTF.
	* fixincludes/configure.ac: Check for asprintf, basename, vasprintf.

Attachment: gcc-fixincludes.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]