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]

[Ada] fix isalpha vs ISALPHA in adaint.c for mingw32


http://gcc.gnu.org/ml/gcc-patches/2008-07/msg01139.html suggests an
attempt to fix Ada bootstrap breakage from bogus use of isalpha
instead of ISALPHA for the compiler on mingw32.

While I couldn't test with current mainline on a real target, the
change is simple, pretty clean IMO, very localized, mingw32 specific,
performs as intended AFAICS from experiments with a cross compiler, and
aims at restoring a currently broken bootstrap so I will commit.

Olivier

	2008-07-17  Olivier Hainque  <hainque@adacore.com>

	* adaint.c (__MINGW32__ section): Include ctype.h and define
	a fallback ISALPHA if IN_RTS.
	(__gnat_is_absolute_path): Use ISALPHA instead of isalpha. 

Attachment: mingw-isalpha.dif
Description: Text document


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