NAN assigned to class without error

David Starner dstarner98@aasaa.ofe.org
Mon Jan 18 15:46:00 GMT 1999


Alexandre Oliva wrote:
> 
> On Jan 17, 1999, David Starner <dstarner98@aasaa.ofe.org> wrote:
> 
> > In Egcs 1.1.1, on Debian GNU/Linux 2.2 (unstable/potato), running g++
> > -Wall -W TestHC.cpp produces no error for assigning the NAN to
> > Hypercomplex.
> 
> Why should it?  There's a constructor that takes a single double
> argument: Hypercomplex(double A, double =0, double =0, double =0)
> 

Right. Sorry, I knew it would be something stupid like that.

-- 
David Starner - dstarner98@aasaa.ofe.org
"Repent, Harlequin", said the Ticktock man.



More information about the Gcc-bugs mailing list