Article View: gnu.g++.bug
Article #1094friend operator (was Re: Bug in GCC 2.3.1)
From: Otto Lind
Date: Fri, 06 Nov 1992 09:53
Date: Fri, 06 Nov 1992 09:53
21 lines
1284 bytes
1284 bytes
In article <1992Nov2.151319.26943@dfv.rwth-aachen.de>, mj@dfv.rwth-aachen.DE (Martin Junius) writes:
|> In GCC 2.3.1 defining a friend operator in the class declaration
|> no longer works, the linker reports an unresolved external. This
|> doesn't happen with GCC 2.2.2.
|>
|> Example program:
[deleted]
I have encountered this bug also. Is there any work around? I am trying
to use gcc for et++, and this causes a major breakdown of the code, since
the MetaDef() macro included in all the class definitions defines several
friend operators.
Any help or temp patchs would be appreciated.
Otto
--
Otto Lind Sybase, Inc.
otto@sybase.com 6475 Christie Ave Emeryville, CA 94608
{pacbell,pyramid,sun}!sybase!otto (510) 596-3691
Technical Details
Message-ID:
<25485@sybase.sybase.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fugue.UUCP!ottoReferences:
<1992Nov2.151319.26943@dfv.rwth-aachen.de>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fugue.UUCP!otto From: otto@fugue.UUCP (Otto Lind) Subject: friend operator (was Re: Bug in GCC 2.3.1) Message-ID: <25485@sybase.sybase.com> Sender: gnulists@ai.mit.edu Organization: Sybase References: <1992Nov2.151319.26943@dfv.rwth-aachen.de> Distribution: gnu Date: Fri, 6 Nov 1992 09:53:18 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 22