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]

[PATCH] Fix fallout of the Selectable execution character set patch


Two things were missed by the original patch:
iconv can take as the second argument two different types: char ** or const char**.
iconv can be in a library.


This patch fixes those two things.


Bootstrapped on three different ways:
iconv inside glibc, i686-pc-linux-gnu without iconv taking a const.
iconv inside libiconv, i686-unknown-openbsd31. with iconv taking a const.
without an iconv, powerpc-apple-darwin6.6.


ChangeLog:
2003-07-06  Andrew Pinski  <pinskia@physics.uc.edu>

	* cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
	(convert_cset): Change inbuf to type ICONV_CONST char.
	* Makefile.in (LIBS): Add LIBICONV.


Patch:

Attachment: mypatch.diff
Description: Binary data




Thanks, Andrew Pinski

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