From: Claudio Bley <bley@cs.uni-magdeburg.de>
To: dannyngo@ca.ibm.com
Cc: gcc-help@gcc.gnu.org
Subject: Re: Compile Errors After Upgrading to GCC 3.0.2 from GCC 2.95.2
Date: Thu, 15 Nov 2001 05:07:00 -0000 [thread overview]
Message-ID: <15357.2759.477476.359382@wh2-19.st.uni-magdeburg.de> (raw)
In-Reply-To: <OF80B6F6A2.804675C9-ON85256B0B.005326BD@torolab.ibm.com>
>>>>> "dannyngo" == dannyngo <dannyngo@ca.ibm.com> writes:
dannyngo> Hi, I have a source file that compiles successfully with
dannyngo> g++ 2.95.2 but not with g++ 3.0.2. I'm running it on
dannyngo> SuSE Linux 7.1. Here's an example of the kind of errors
dannyngo> I'm getting:
dannyngo> g++ -w -Wall -I. -c ggRasterSurfaceTexture.C
dannyngo> ggRasterSurfaceTexture.C: In constructor
dannyngo> `ggRasterSurfaceTexture::ggRasterSurfaceTexture(std::istream&)':
dannyngo> ggRasterSurfaceTexture.C:58: no matching function for
dannyngo> call to `std::basic_istream<char,
dannyngo> std::char_traits<char> >::get(unsigned char&)'
[snip]
dannyngo> Any ideas on the cause of such errors? Thanks for any
dannyngo> help!
dannyngo> Danny Ngo
You can't get a 'unsigned char' out of a 'char' stream directly.
GCC already told you what kind of `get' functions the
std::basic_istream class provides, just select the appropriate one.
HTH
Claudio
prev parent reply other threads:[~2001-11-22 14:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-12 15:41 dannyngo
2001-11-15 5:07 ` Claudio Bley [this message]
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=15357.2759.477476.359382@wh2-19.st.uni-magdeburg.de \
--to=bley@cs.uni-magdeburg.de \
--cc=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).