This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/17005] wide character strings don't work on HP-UX 11i using gcc 3.4.1


------- Additional Comments From jerrydy at sbcglobal dot net  2004-08-12 18:29 -------
I checked and I have /usr/include/wctype.h. See my config.log below. I'm 
missing the WCHAR_MIN and WCHAR_MAX. I've tried

export CPPFLAGS=-D_INCLUDE__STDC_A1_SOURCE

before configure & make bootstrap but as the config.log below shows, my 
CPPFLAGS is not getting included in the command line. Isn't that what CPPFLAGS 
is for?

configure:24821: checking wctype.h presence
configure:24832: /pics/log/ccase/gcc-3.4.1-objdir/gcc/xgcc -
B/pics/log/ccase/gcc-3.4.1-objdir/gcc/ -B/usr/local/appl/gcc/hppa
2.0w-hp-hpux11.11/bin/ -B/usr/local/appl/gcc/hppa2.0w-hp-hpux11.11/lib/ -
isystem /usr/local/appl/gcc/hppa2.0w-hp-hpux11.11/in
clude -isystem /usr/local/appl/gcc/hppa2.0w-hp-hpux11.11/sys-include -E -O2 -g -
O2 conftest.c
configure:24838: $? = 0
configure:24857: result: yes
configure:24893: checking for wctype.h
configure:24900: result: yes
configure:24923: checking for WCHAR_MIN and WCHAR_MAX
configure:24942: /pics/log/ccase/gcc-3.4.1-objdir/gcc/xgcc -
B/pics/log/ccase/gcc-3.4.1-objdir/gcc/ -B/usr/local/appl/gcc/hppa
2.0w-hp-hpux11.11/bin/ -B/usr/local/appl/gcc/hppa2.0w-hp-hpux11.11/lib/ -
isystem /usr/local/appl/gcc/hppa2.0w-hp-hpux11.11/in
clude -isystem /usr/local/appl/gcc/hppa2.0w-hp-hpux11.11/sys-include -c -O2 -g -
O2 -O2 -g -O2 conftest.c >&5
configure: In function `main':
configure:24996: error: `WCHAR_MIN' undeclared (first use in this function)
configure:24996: error: (Each undeclared identifier is reported only once
configure:24996: error: for each function it appears in.)
configure:24996: error: `WCHAR_MAX' undeclared (first use in this function)
configure:24945: $? = 1
configure: failed program was:

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005


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