This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31791] Builtin functions too intrusive causing -Werror build to break.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2007 15:36:48 -0000
- Subject: [Bug c/31791] Builtin functions too intrusive causing -Werror build to break.
- References: <bug-31791-14491@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-02 16:36 -------
> I have tried the 3.4.6 compiler with same results. But judging the situation I
> expect this to be a conceptual issue.
Well there are two things, first you are using a reserved name in C99. The C
standard dicttakes most of what GCC implements.
exp2 is not in your namespace, really, it is in the standard C99 namespace.
Try adding -ansi or -std=c89 if you want only the reserved names in C89 to be
builtins.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31791