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] |
The following small program gives an internal compiler error, using
egcs-1.0.2. As the
compiler kindly asked me to contact you with a full bug report, hopefully
you have enough
information. By the way, I don't know if it is a violation of any C++
rule to initialize a variable
in the declaration of a class.
#include <complex.h>
class { static const complex<double> i(0,1); }
Good luck,
Peter
-- Peter Paulus Kamerlingh Onnes Laboratories PO Box 9506, 2300 RA Leiden The Netherlands tel: +31 71 527 5856 fax: +31 71 527 5404 e-mail: Paulus@RULKOL.LeidenUniv.nl
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |