This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16476] GCC ignores mismatched prototypes involving integers
- 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: 12 Jul 2004 04:09:02 -0000
- Subject: [Bug c/16476] GCC ignores mismatched prototypes involving integers
- References: <20040711193915.16476.justinpryzby@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 04:08 -------
void drift(); is not really a prototype. It is an old style (K&R) function declaration which is needed to
support because of the C standard, it means that it can take any amount of arguments. This is unlike C
++ wher it means the same as "void drift(void);".
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16476