[Bug libstdc++/12206] Segmentation fault in basic_filebuf::seekoff

paolo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 20:57:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From paolo at gcc dot gnu dot org  2003-10-01 20:57 -------
Sorry ;) Those are 3.3.1 compilation errors...

The following are g++ (GCC) 3.4 20030930 errors:

paolo:~> g++ 12206.cc
/usr/local/gcc-exp/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/bits/fstream.tcc:
In member function `typename std::basic_filebuf<_CharT, _Traits>::pos_type
std::basic_filebuf<_CharT, _Traits>::seekoff(typename _Traits::off_type,
std::_Ios_Seekdir, std::_Ios_Openmode) [with _CharT = Char, _Traits = Traits]':
/usr/local/gcc-exp/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/bits/fstream.tcc:108:
  instantiated from `typename std::basic_filebuf<_CharT,
_Traits>::__filebuf_type* std::basic_filebuf<_CharT, _Traits>::open(const char*,
std::_Ios_Openmode) [with _CharT = Char, _Traits = Traits]'
12206.cc:182:   instantiated from here
/usr/local/gcc-exp/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/bits/fstream.tcc:615:
error: 'const class std::codecvt<Char, char, mbstate_t>' has no member named
'length'



More information about the Gcc-bugs mailing list