[Bug c/26005] Non-existent function/macro isinf() - correctly rejected by gcc - accepted by gcc -O
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 29 08:55:00 GMT 2006
------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-01-29 08:55 -------
> Yes of course these suggestions would work fine, but they would be in the
> nature of workarounds. I was merely trying to illustrate that others also seem
> to believe that the absence of a definition (macro or function) and/or the
> absence of the function itself should cause a compile-time error.
In a freestanding environment (see the entry for -ffreestanding in the manual)
but certainly not in the default gnu89 mode.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26005
More information about the Gcc-bugs
mailing list