🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1058

Strange error message from g++-2.2.2

#1058
From: h.b.furuseth
Date: Tue, 13 Oct 1992 12:45
18 lines
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.furuseth

Show 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