LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-29-2004, 03:19 PM   #1
Basiltp
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
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:pen_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>:perator-(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>:perator-(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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing member functions of sockaddr_in Stack Overflow Programming 4 01-27-2005 05:11 PM
member to pointer problem with gcc 3.4.3 asmith Programming 1 01-18-2005 08:40 AM
GCC:- 'cout' is an undeclared function when #include <iostream> is included? caesius_01 Programming 5 04-04-2004 11:00 AM
gcc with iostream problem rob99 Programming 9 04-16-2003 09:56 PM
pointers to functions/member functions champ Programming 2 03-28-2003 06:22 PM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration