- gcc doesn't understand -Wstring-conversion, so pass that only to clang
- disable a few gcc warnings that are noisy and also disabled in the cmake build
- -Wstrict-aliasing pointed out that the cmake build builds clang with -fno-strict-aliasing, so do that too
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm getting a bunch of
[1593/1698] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_platform_limits_solaris.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated.
in my local build with this patch applied. Does the stage2_unix toolchain set is_clang to true? If not, it probably should?
Comment Actions
Thanks!
llvm/utils/gn/build/BUILD.gn | ||
---|---|---|
153 | The file uses host_os for the other win checks too. I agree it's wrong, but I want to keep the file self-consistent until I get around to setting up a win/cross build. |
current_os?