This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 1.0.2 c++ inheritence pb
- To: Neal Becker <neal at ctd dot comsat dot com>
- Subject: Re: 1.0.2 c++ inheritence pb
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Fri, 8 May 1998 22:42:44 +0200 (MET DST)
- cc: egcs-bugs at cygnus dot com
- Reply-To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
On 8 May 1998, Neal Becker wrote:
> <Complex.h> should be part of egcs AFAIK. Here is Complex.h:
Hmm, it did a
find . -name 'Complex.h' -print
in both the CVS tree and an installed version of the current snapshot
without any match.
On the other hand, I could not find it in my draft of the ANSI standard
either, but of course it might have made it into a later (non-public)
version (which I don't have access to).
BTW, with your Complex.h and egcs-2.91.27 19980502 I get exactly the
same behaviour as you've mentioned in your e-mail for egcs-1.0.2.
What I don't understand is why
Complex DemodOut;
Complex RcvIn[8];
o.Compute (RcvIn, DemodOut);
is expanded to
`O::Compute(complex<double>[8],Complex &)'
in the warning, i.e., why the first parameter is expanded while the
second is not.
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/