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


<Complex.h> should be part of egcs AFAIK.  Here is Complex.h:

-------------------
// This may look like C code, but it is really -*- C++ -*-

#ifndef _Complex_h
#define _Complex_h

// Use the ANSI complex number template.
#include <complex>
typedef complex<double> Complex;

#endif
--------------------

Using complex instead of Complex will not work, as you found out.


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