clang -nostdinc
generates spurious unuused command line argument warnings
#368850
Labels
0.kind: bug
Something is broken
commit 7047ba9 removed a clang patch and uses the
-nostdlibinc
command line flag instead. this is mostly fine, and unnoticeable from the user's perspective.except when the user passes
-nostdinc
also. without this change,clang
won't complain; but nowclang
prints:this breaks packages that are built with
-Werror
, such as the linux kernel.The text was updated successfully, but these errors were encountered: