You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think -Wno-unused-but-set-parameter is only enabled by generic-gcc. I think on macos, generic-clang should be used instead of generic-gcc if you don't have "real gcc" installed.
Activity
stellaraccident commentedon Jan 9, 2021
Me-thinks the answer is an additional flag: -Wno-unknown-warning-option
freedomtan commentedon Jan 11, 2021
I think
-Wno-unused-but-set-parameteris only enabled bygeneric-gcc. I think on macos,generic-clangshould be used instead ofgeneric-gccif you don't have "real gcc" installed.stellaraccident commentedon Jan 12, 2021
Indeed. The compiler was being mis-identifier:
Did not recognize C++ compiler AppleClang. Configuring bazel for gcc modeBuild bazel deps with clang config on ApplyClang.
Build bazel deps with clang config on AppleClang.
Build bazel deps with clang config on AppleClang.