This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26005] Non-existent function/macro isinf() - correctly rejected by gcc - accepted by gcc -O
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2006 08:55:37 -0000
- Subject: [Bug c/26005] Non-existent function/macro isinf() - correctly rejected by gcc - accepted by gcc -O
- References: <bug-26005-12086@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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