This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17573] redefinition of builtin generates error when K&R fn def used
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2004 22:44:09 -0000
- Subject: [Bug c/17573] redefinition of builtin generates error when K&R fn def used
- References: <20040920220021.17573.bowdidge@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-09-20 22:44 -------
The definition is not compatible with the declaration. In K&R style a
function parameter that is defined as float is actually a double due to
default promotion.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17573