[Bug c/95800] DJGPP 9.3.1 doesn't parse C files correctly

teo.samarzija at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 21 12:23:38 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95800

--- Comment #2 from Teo Samarzija <teo.samarzija at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> 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) { ... }

I am sorry, apparently it is defined as a macro. I don't know why I am getting
linker errors telling me "log2" is undefined.


More information about the Gcc-bugs mailing list