https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95800
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps log2 is in DJGPP a macro (which the C standard allows)?
In that case, you either need to #undef that macro, or
use double (log2)(double x) { ... }
