From: Halim Sahin <halim.sahin@freenet.de>
To: gcc-help@gcc.gnu.org
Subject: sstring problem in g++-4.0
Date: Tue, 18 Apr 2006 21:10:00 -0000 [thread overview]
Message-ID: <20060418210441.GA28185@halim.local> (raw)
Hello @ALL;
Today I wanted to use istringstrems in my prog.
I am using g++-4.0 from debian testing.
After including only sstream, iostream string the folowing error ocured:
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/sstream.tcc
: In member function 'virtual typename std::basic_stringbuf<_CharT,
_Traits, _Al
loc>::int_type std::basic_stringbuf<_CharT, _Traits,
_Alloc>::overflow(typename
_Traits::int_type)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/sstream.tcc
:112: error: expected unqualified-id before '(' token
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/sstream.tcc
:114: error: expected unqualified-id before '(' token
I want to repeat the Problem:
I didn't use any istringstream. I included only the needed headers.
If I do these including in a small test programm it works.
The error does not happen with g++3.3.
Can you please help to get this work with g++4
compiler options I used are:
g++ -O0 -g -pipe .....
best regards
reply other threads:[~2006-04-18 21:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060418210441.GA28185@halim.local \
--to=halim.sahin@freenet.de \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).