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]

Re: [v3] libstdc++/1886, preliminary wchar_t config work


"fileno" on gcc/libstdc++-v3/config/basic_file_stdio.h:127 is
undefined.  May we have it fixed?

Below is the mips-sgi-irix6.5 test case information that demonstrated
the error.

Thanks for your help,
Jeffrey D. Oldham
oldham@codesourcery.com

Executing on host: /am/father/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/testsuite/../g++ -B/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/testsuite/../ /users/joldham/pooma/dev0/gcc/gcc/testsuite/g++.old-deja/g++.law/cvt2.C  -nostdinc++ -I/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5//libstdc++-v3/include -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/std -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/c_std -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/libsupc++ -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/libio -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/testsuite -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/backward -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/ext -fmessage-length=0  -ansi -pedantic-errors -Wno-long-long  -lstdc++   -L/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5//libstdc++-v3/src/.libs -L/am/father/frameworks/pooma/joldh!
am/dev0/gcc/objdir/mips-sgi-irix6.5//libiberty  -lm   -o /users/joldham/pooma/dev0/gcc/objdir/gcc/testsuite/g++-law-cvt2-C    (timeout = 300)
spawn /am/father/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/testsuite/../g++ -B/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/testsuite/../ /users/joldham/pooma/dev0/gcc/gcc/testsuite/g++.old-deja/g++.law/cvt2.C -nostdinc++ -I/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5//libstdc++-v3/include -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/std -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/c_std -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/libsupc++ -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/libio -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/testsuite -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/backward -I/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/ext -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -lstdc++ -L/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5//libstdc++-v3/src/.libs -L/am/father/frameworks/pooma/joldham/dev0/gcc/objdir!
/mips-sgi-irix6.5//libiberty -lm -o /users/joldham/pooma/dev0/gcc/objdir/gcc/testsuite/g++-law-cvt2-C 
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h: In member function `std::__basic_file<_CharT>* std::__basic_file<_CharT>::open(const char*, std::_Ios_Openmode, int) [with _CharT = char]':
/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/bits/fstream.tcc:123:   instantiated from `std::basic_filebuf<_CharT, _Traits>* std::basic_filebuf<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]'
/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/bits/std_fstream.h:278:   instantiated from `void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]'
/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/bits/std_fstream.h:259:   instantiated from `std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]'
/users/joldham/pooma/dev0/gcc/gcc/testsuite/g++.old-deja/g++.law/cvt2.C:28:   instantiated from here
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h:127: `fileno' undeclared (first use this function)
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h:127: (Each undeclared identifier is reported only once for each function it appears in.)
compiler exited with status 1
output is:
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h: In member function `std::__basic_file<_CharT>* std::__basic_file<_CharT>::open(const char*, std::_Ios_Openmode, int) [with _CharT = char]':
/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/bits/fstream.tcc:123:   instantiated from `std::basic_filebuf<_CharT, _Traits>* std::basic_filebuf<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]'
/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/bits/std_fstream.h:278:   instantiated from `void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]'
/users/joldham/pooma/dev0/gcc/libstdc++-v3/include/bits/std_fstream.h:259:   instantiated from `std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]'
/users/joldham/pooma/dev0/gcc/gcc/testsuite/g++.old-deja/g++.law/cvt2.C:28:   instantiated from here
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h:127: `fileno' undeclared (first use this function)
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h:127: (Each undeclared identifier is reported only once for each function it appears in.)

FAIL: g++.law/cvt2.C (test for excess errors)
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h:127: `fileno' undeclared (first use this function)
/am/father/frameworks/pooma/joldham/dev0/gcc/objdir/mips-sgi-irix6.5/libstdc++-v3/include/bits/basic_file_model.h:127: (Each undeclared identifier is reported only once for each function it appears in.)


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