c to GCChange of member functions in iostream from GCC296 to Gcc 3.2.2
I could compile and run my progrtam in GCC 296 successfully. But when i try to compile it in 3.2.2 version of GCC it is showing a number of errors like
zClient/Fbuf.c: In member function `FBUF* FBUF::open_file()': zClient/Fbuf.c:88: `nocreate' is not a member of type `std::basic_ios<char, std::char_traits<char> >' zClient/Fbuf.c:89: `noreplace' is not a member of type `std::basic_ios<char, std::char_traits<char> >' zClient/Fbuf.c: In member function `std::streampos FBUF::seekoff_file(long int, std::_Ios_Seekdir, int)': zClient/Fbuf.c:198: choosing `std::fpos<_StateT> std::fpos<_StateT>::operator-(long int) [with _StateT = mbstate_t]' over ` operator-' zClient/Fbuf.c:198: because worst conversion for the former is better than worst conversion for the latter zClient/Fbuf.c:202: choosing `std::fpos<_StateT> std::fpos<_StateT>::operator-(long int) [with _StateT = mbstate_t]' over ` operator-' zClient/Fbuf.c:202: because worst conversion for the former is better than worst conversion for the latter I suppose that the member funcyions of iostreams have changed and that's why it is showing many errors. Can any one help me out in fixing this error thanks in advance Basil |
All times are GMT -5. The time now is 06:43 AM. |