This is the mail archive of the
mailing list for the libstdc++ project.
Re: current mainline, port status
Benjamin Kosnik <email@example.com> writes:
| > | 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().
You're absolutely right.