This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.0.2 c++ inheritence pb


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]