mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
This allows downstream consumers of protobuf to enable Wundef in their code which consumes protobuf APIs.
Closes #17845
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17845 from cramertj:wundef 8750f8c5f8
PiperOrigin-RevId: 700721632
7 lines
298 B
Text
7 lines
298 B
Text
import common.bazelrc
|
|
|
|
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
|
|
build --cxxopt="-Woverloaded-virtual"
|
|
build --copt="-Wpointer-arith"
|
|
build --copt="-Werror" --copt="-Wno-sign-compare" --copt="-Wno-sign-conversion" --copt="-Wno-error=sign-conversion" --copt="-Wno-deprecated-declarations"
|
|
|