manojgupta added a comment.
We are finding a lot of failures in our ToT builds with this change. here is an
example for a configure script:
$ cat tent.c
int main ()
{
tgetent(0,0);
return 0;
}
$ bin/clang -c tent.c -Wno-error
tent.c:3:2: error: call to undeclared function 'tgetent'; ISO C99 and later do
not support implicit function declarations [-Wimplicit-function-declaration]
tgetent(0,0);
^
1 error generated.
It feels very surprising that Wno-error does not suppress this warning. Is that
expected?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122983/new/
https://reviews.llvm.org/D122983
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits