On 31 December 2015 at 11:54, Dominik Vogt wrote: > Is there a requirement for a certain minimum Glibc version for > this to work?
It doesn't work with any glibc, because it doesn't declare the C++ overloads. Libstdc++ has an include/c_compatibility/math.h header that would include <cmath> (which declares the C++ overloads) and then pull them into the global namespace, but that isn't used on GNU/Linux, and would create other problems. This is already in Bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401