-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-14277
-
-
-
default
-
% type file.c
void fxn()
{
no_prototype();
}
% tiarmclang -Werror -c file.c
file.c:3:5: warning: call to undeclared function 'no_prototype'; ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
no_prototype();
^
1 warning generated.
Because -Werror is used, the diagnostic should be an error, and not a warning.