This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29888] No error when "too few arguments" or "conflicting types" would be expected
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2008 16:32:03 -0000
- Subject: [Bug c/29888] No error when "too few arguments" or "conflicting types" would be expected
- References: <bug-29888-13585@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from manu at gcc dot gnu dot org 2008-08-18 16:32 -------
The code is correct in -std=c89 (the default). Use -Wall or -std=c99 if you
want to be warned about implicit declarations.
See http://c-faq.com/decl/implfdecl.html
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29888