------- 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