From: dannyngo@ca.ibm.com
To: gcc-help@gcc.gnu.org
Subject: Compile Errors After Upgrading to GCC 3.0.2 from GCC 2.95.2
Date: Mon, 12 Nov 2001 15:41:00 -0000 [thread overview]
Message-ID: <OF80B6F6A2.804675C9-ON85256B0B.005326BD@torolab.ibm.com> (raw)
Hi,
I have a source file that compiles successfully with g++ 2.95.2 but not
with
g++ 3.0.2. I'm running it on SuSE Linux 7.1. Here's an example of the
kind
of errors I'm getting:
g++ -w -Wall -I. -c ggRasterSurfaceTexture.C
ggRasterSurfaceTexture.C: In constructor
`ggRasterSurfaceTexture::ggRasterSurfaceTexture(std::istream&)':
ggRasterSurfaceTexture.C:58: no matching function for call to
`std::basic_istream<char, std::char_traits<char> >::get(unsigned char&)'
/usr/local/include/g++-v3/bits/istream.tcc:471: candidates are: typename
_Traits::int_type std::basic_istream<_CharT, _Traits>::get() [with
_CharT
=
char, _Traits = std::char_traits<char>]
/usr/local/include/g++-v3/bits/istream.tcc:503:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(_CharT&) [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/local/include/g++-v3/bits/istream.tcc:537:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(_CharT*, int, _CharT) [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/local/include/g++-v3/bits/std_istream.h:157:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(_CharT*, int) [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/local/include/g++-v3/bits/istream.tcc:583:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(std::basic_streambuf<_CharT, _Traits>&, _CharT) [with
_CharT =
char, _Traits = std::char_traits<char>]
/usr/local/include/g++-v3/bits/std_istream.h:164:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(std::basic_streambuf<_CharT, _Traits>&) [with _CharT =
char,
_Traits = std::char_traits<char>]
Any ideas on the cause of such errors? Thanks for any help!
Danny Ngo
next reply other threads:[~2001-11-21 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-12 15:41 dannyngo [this message]
2001-11-15 5:07 ` Claudio Bley
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=OF80B6F6A2.804675C9-ON85256B0B.005326BD@torolab.ibm.com \
--to=dannyngo@ca.ibm.com \
--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).