LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-02-2005, 01:27 AM   #1
maheshbmane
LQ Newbie
 
Registered: Sep 2005
Location: India
Posts: 5

Rep: Reputation: 0
gcc compiler error


Please resolve the following gcc compiler error in /usr/include/c++/3.2.3/bits/fstream.tcc

In file included from /usr/include/c++/3.2.3/fstream:576,
/usr/include/c++/3.2.3/bits/fstream.tcc: In member function `virtual
_Traits::pos_type std::basic_filebuf<_CharT,
_Traits>::seekoff(_Traits::off_type, std::_Ios_Seekdir,
std::_Ios_Openmode)':
/usr/include/c++/3.2.3/bits/fstream.tcc:455: syntax error before `this'
 
Old 09-02-2005, 01:47 AM   #2
shishir
Member
 
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
i think oyu might want to use...g++ instead of gcc
 
Old 09-02-2005, 06:32 AM   #3
maheshbmane
LQ Newbie
 
Registered: Sep 2005
Location: India
Posts: 5

Original Poster
Rep: Reputation: 0
It is the same error with g++ also. I am using the version is

Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
 
Old 09-02-2005, 10:23 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,156

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Often this means you're misusing something defined in the header file. I'm not much of a C++ expert, but if you could post some of the code you're compiling, it might help. Are you doing something weird with an fstream object somewhere?
 
  


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
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 02:29 AM
How do I fix this assignment problem C++ compiler error in GCC? Erik_the_Red Programming 4 07-12-2005 10:36 AM
Problem with gcc: configure: error: C compiler cannot create executable abefroman Suse/Novell 4 05-11-2005 07:12 PM
Gcc compiler error Yoda Sabre Linux - Software 9 08-16-2004 04:53 PM
gcc compiler error / linux headers install help SciYro Linux - Software 2 12-07-2003 02:44 PM


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

Main Menu
Advertisement
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