[Bug c/42990] "warning: implicit declaration of function 'xxx' " instead of "error: ..."

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 7 14:54:00 GMT 2010



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-02-07 14:54 -------
Btw, with -std=c99 -pedantic-errors you will get an error for missing
prototypes (not so with -std=c89 or the default, which is -std=gnu89, because
as was said C89 allows unprototyped functions).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42990



More information about the Gcc-bugs mailing list