https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736

Boris <bp at alien8 dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bp at alien8 dot de

--- Comment #20 from Boris <bp at alien8 dot de> ---
(In reply to prathamesh3492 from comment #14)
> The patch enables warning with Wextra due to PR91593 and warnings with
> allmodconfig kernel build. Once these issues are resolved, we could
> consider promoting it to Wall.

Yes, you should. I just built 6.4 allmodconfig and there are no warnings
anymore likely because clang enables this warning by default and since we build
the kernel with both compilers, people have fixed them all in the meantime.

And clang did catch a legitimate error with this warning here while gcc didn't
using the default warning flags but it warned with -Wextra.

So I think we'll enable that warning by default in the kernel build and it does
make sense to do that in gcc too, I'd say.

Thx.

Reply via email to