libstdc++/6501: ctype_noninline.h:45: `__SB_masks' undeclared

dave.anglin@nrc.ca dave.anglin@nrc.ca
Sun Apr 28 11:38:00 GMT 2002


>Number:         6501
>Category:       libstdc++
>Synopsis:       ctype_noninline.h:45: `__SB_masks' undeclared
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 28 10:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dave Anglin
>Release:        gcc 3.1 20020427 (prerelease)
>Organization:
>Environment:
hppa1.1-hp-hpux10.20
>Description:
/xxx/gnu/gcc-3.1/objdir/gcc/xgcc -shared-libgcc -B/xxx/gnu/gcc-3.1/objdir/gcc/ -
nostdinc++ -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src -L/xx
x/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.libs -B/opt/gnu/hppa
1.1-hp-hpux10.20/bin/ -B/opt/gnu/hppa1.1-hp-hpux10.20/lib/ -isystem /opt/gnu/hpp
a1.1-hp-hpux10.20/include -nostdinc++ -I/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux1
0.20/libstdc++-v3/include/hppa1.1-hp-hpux10.20 -I/xxx/gnu/gcc-3.1/objdir/hppa1.1
-hp-hpux10.20/libstdc++-v3/include -I../../../../gcc/libstdc++-v3/libsupc++ -I..
/../../../gcc/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-for
mat -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../../../
../gcc/libstdc++-v3/src/locale.cc  -fPIC -DPIC -o .libs/locale.o
In file included from ../../../../gcc/libstdc++-v3/src/locale.cc:406:
/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include/hppa1.1-hp-hpu
x10.20/bits/ctype_noninline.h: In
   constructor `std::ctype<char>::ctype(int*, const unsigned int*, bool,
   unsigned int)':
/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include/hppa1.1-hp-hpu
x10.20/bits/ctype_noninline.h:45: `
   __SB_masks' undeclared (first use this function)
/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include/hppa1.1-hp-hpu
x10.20/bits/ctype_noninline.h:45: (Each
   undeclared identifier is reported only once for each function it appears
   in.)

Under hpux 11, the macro version of the ctype functions is
the default.  However, under hpux 10, it appears that we
need to define _SB_CTYPE_MACROS to obtain the macro version
of the ctype functions.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list