On 11/15/2012 03:33 AM, Fabien Chêne wrote:
2012/11/14 Jason Merrill <ja...@redhat.com>:
I'll just note that another solution would be to change non-template
forwarding pows to be extern "C" declarations. But it sounds like you folks
have this issue in hand.
I'm a bit puzzled by your suggestion, altough I have not tried it yet,
how can it work given that the forwarding pows are overloaded ?
I was only thinking of the primary signature; putting
extern "C" double pow (double, double);
in any namespace will result in calling the C library function if that
declaration is selected by overload resolution.
Jason