xbolva00 added a comment.

In D122983#3484064 <https://reviews.llvm.org/D122983#3484064>, @manojgupta 
wrote:

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

Yéah, this is unfortunate if -Wno-error does nothing :/ other options from 
release notes work for you?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122983/new/

https://reviews.llvm.org/D122983

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to