Re: Issues with C++ overloaded math functions in math.h in the wrong scope

2020-01-04 Thread Martin Storsjö
On Sat, 4 Jan 2020, Bruno Haible wrote: Hi Martin, In this particular case, this math.h header ends up included in a context wrapped in 'extern "C" {}' surrounding it, which breaks the C++ function overloading. The general convention is that header files must be included outside of any 'exte

Re: Issues with C++ overloaded math functions in math.h in the wrong scope

2020-01-04 Thread Bruno Haible
Hi Martin, > In this particular case, this math.h header ends up included in a context > wrapped in 'extern "C" {}' surrounding it, which breaks the C++ function > overloading. The general convention is that header files must be included outside of any 'extern "C" {}' or 'extern "C++" {}' conte