Article View: gnu.g++.bug
Article #1058Strange error message from g++-2.2.2
From: h.b.furuseth
Date: Tue, 13 Oct 1992 12:45
Date: Tue, 13 Oct 1992 12:45
18 lines
674 bytes
674 bytes
I see no `&' in the class below, though I'm sure g++ could use one
internally:
% g++ -S x.cc
x.cc: In method `void foo::bar (int)':
x.cc:6: invalid lvalue in unary `&'
% cat x.cc
struct foo {
int i;
void bar ( int i )
{
foo::i = i;
}
};
Hallvard
Technical Details
Message-ID:
<9210131045.AAdurin09176@durin.uio.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!usit.uio.NO!h.b.furusethShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!usit.uio.NO!h.b.furuseth From: h.b.furuseth@usit.uio.NO Subject: Strange error message from g++-2.2.2 Message-ID: <9210131045.AAdurin09176@durin.uio.no> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 13 Oct 1992 12:45:37 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 19