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++/13455] New: [3.4 regression] basic_file.cc:217: error: `read' undeclared


The following error occurs building libstdc++:

/xxx/gnu/gcc-3.3/objdir/gcc/xgcc -shared-libgcc -B/xxx/gnu/gcc-3.3/objdir/gcc/ -
nostdinc++ -L/xxx/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.00/libstdc++-v3/src -L/xxx
/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.00/libstdc++-v3/src/.libs -B/opt/gnu64/gcc/
gcc-3.4/hppa64-hp-hpux11.00/bin/ -B/opt/gnu64/gcc/gcc-3.4/hppa64-hp-hpux11.00/li
b/ -isystem /opt/gnu64/gcc/gcc-3.4/hppa64-hp-hpux11.00/include -isystem /opt/gnu
64/gcc/gcc-3.4/hppa64-hp-hpux11.00/sys-include -I/xxx/gnu/gcc-3.3/objdir/hppa64-
hp-hpux11.00/libstdc++-v3/include/hppa64-hp-hpux11.00 -I/xxx/gnu/gcc-3.3/objdir/
hppa64-hp-hpux11.00/libstdc++-v3/include -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/lib
supc++ -O2 -g -O2 -g -O2 -fno-implicit-templates -Wall -W -Wwrite-strings -Wcast
-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c ba
sic_file.cc  -fPIC -DPIC -o .libs/basic_file.o
basic_file.cc: In member function `std::streamsize std::__basic_file<char>::xsge
tn(char*, std::streamsize)':
basic_file.cc:217: error: `read' undeclared (first use this function)
basic_file.cc:217: error: (Each undeclared identifier is reported only once for
each function it appears in.)
basic_file.cc: In member function `std::streamsize std::__basic_file<char>::xspu
tn(const char*, std::streamsize)':
basic_file.cc:227: error: `write' undeclared (first use this function)
basic_file.cc: In member function `std::streamsize std::__basic_file<char>::xspu
tn_2(const char*, std::streamsize, const char*, std::streamsize)':
basic_file.cc:250: error: `write' undeclared (first use this function)
basic_file.cc: In member function `std::streamoff std::__basic_file<char>::seeko
ff(std::streamoff, std::_Ios_Seekdir)':
basic_file.cc:275: error: `lseek' undeclared (first use this function)
make[4]: *** [basic_file.lo] Error 1

-- 
           Summary: [3.4 regression] basic_file.cc:217: error: `read'
                    undeclared
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.00
  GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00


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


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