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]

Re: [RFA/RFC] Remove check of ctype.h include in safe-ctype.h?


On Thu, 10 Jul 2008, Ian Lance Taylor wrote:

> "Aaron W. LaFramboise" <aaronavay62@aaronwl.com> writes:
>
> > ../../svn/gcc/ada/adaint.c: In function `__gnat_is_absolute_path':
> > ../../svn/gcc/ada/adaint.c:1645: error: `do_not_use_isalpha_with_safe_ctype' undeclared (first use in this function)
> > ../../svn/gcc/ada/adaint.c:1645: error: (Each undeclared identifier is reported only once
> > ../../svn/gcc/ada/adaint.c:1645: error: for each function it appears in.)
>
> This is a correct error.  That line in adaint.c should use ISALPHA,
> not isalpha.
> Ian

I think adaint.c is used on both host and target, and libiberty isn't
available for the target files.  So you'll probably have to conditionalize
isalpha vs ISALPHA on #ifdef IN_RTS.

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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