This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Newlib _ctype_ alias kludge now invalid due to PR middle-end/15700fix.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: jjohnstn at redhat dot com
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 18 Mar 2005 02:31:09 +0100
- Subject: Re: Newlib _ctype_ alias kludge now invalid due to PR middle-end/15700fix.
> Date: Thu, 17 Mar 2005 15:21:59 -0500
> From: Jeff Johnston <jjohnstn@redhat.com>
> I have just checked in a patch to newlib that changes the ctype macros to use
> __ctype_ptr instead of _ctype_. In addition, a configuration check is made to
> see whether the array aliasing trick can be used or not.
In doing so, it appears you broke something in the headers,
perhaps just for -DCOMPACT_CTYPE targets (CVS as of "Thu Mar 17
21:12:45 UTC 2005" building combined tree for
mmix-knuth-mmixware):
/bin/sh ../libtool --tag CXX --mode=compile /home/hp/combined/mmixware-sim/./gcc/xgcc -shared-libgcc -B/home/hp/combined/mmixware\
-sim/./gcc/ -nostdinc++ -L/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/src -L/home/hp/combined/mmixware-sim/mm\
ix-knuth-mmixware/libstdc++-v3/src/.libs -nostdinc -B/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/newlib/ -isystem /home/hp\
/combined/mmixware-sim/mmix-knuth-mmixware/newlib/targ-include -isystem /home/hp/combined/combined/newlib/libc/include -B/usr/loc\
al/mmix-knuth-mmixware/bin/ -B/usr/local/mmix-knuth-mmixware/lib/ -isystem /usr/local/mmix-knuth-mmixware/include -isystem /usr/l\
ocal/mmix-knuth-mmixware/sys-include -L/home/hp/combined/mmixware-sim/./ld -I/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/\
libstdc++-v3/include/mmix-knuth-mmixware -I/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/include -I/home/hp/com\
bined/combined/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-sh\
ow-location=once -c -o ctype.lo /home/hp/combined/combined/libstdc++-v3/src/ctype.cc
/home/hp/combined/mmixware-sim/./gcc/xgcc -shared-libgcc -B/home/hp/combined/mmixware-sim/./gcc/ -nostdinc++ -L/home/hp/combined/\
mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/src -L/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/src/.libs -no\
stdinc -B/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/newlib/ -isystem /home/hp/combined/mmixware-sim/mmix-knuth-mmixware/n\
ewlib/targ-include -isystem /home/hp/combined/combined/newlib/libc/include -B/usr/local/mmix-knuth-mmixware/bin/ -B/usr/local/mmi\
x-knuth-mmixware/lib/ -isystem /usr/local/mmix-knuth-mmixware/include -isystem /usr/local/mmix-knuth-mmixware/sys-include -L/home\
/hp/combined/mmixware-sim/./ld -I/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/include/mmix-knuth-mmixware -I/h\
ome/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/include -I/home/hp/combined/combined/libstdc++-v3/libsupc++ -g -O2 \
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -c /home/hp/combined/combined/\
libstdc++-v3/src/ctype.cc -o ctype.o
/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/include/mmix-knuth-mmixware/bits/ctype_noninline.h: In static mem\
ber function 'static const char* std::ctype<char>::classic_table()':
/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/include/mmix-knuth-mmixware/bits/ctype_noninline.h:38: error: '_c\
type_' was not declared in this scope
make[5]: *** [ctype.lo] Error 1
make[5]: Leaving directory `/home/hp/combined/mmixware-sim/mmix-knuth-mmixware/libstdc++-v3/src'
brgds, H-P