current mainline, port status

Benjamin Kosnik bkoz@redhat.com
Thu Jan 20 23:33:00 GMT 2005


> | However, why don't we just hack around this in the complex include? See attached.
> 
> It is almost OK: we don't need the #else-part, because the generic
> version will be automatically selected if the ordinary overloads are
> commented out by the #if part.  

Cool. I'll do the config parts then if this approach looks like it will fly.

I'll go through and do this for real. I messed up the pow bits too.

However, I think we still need the else part, because without it there
will be undefined references to functions that take C99 complex double.
(ie looking for __complex__ float not std::complex<float>). So, that
needs to either be fixed in the else clause or in complex::__rep().

Anyway.

-benjamin



More information about the Libstdc++ mailing list