This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: current mainline, port status


> | 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


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