Viktor Kustov
Viktor Kustov
@coryan No, `-Werror` flag still exists in `build_defs/cpp_opts.bzl`
@haberman > It looks like `-fpermissive` will treat errors like warnings. > > I don't think we want to do this. What errors are you getting in the mingw build?...
@haberman These default opts: ``` copts = select({ "@platforms//os:windows": [], "//conditions:default": [ "-Wno-deprecated-non-prototype", "-Wno-unused-variable", "-Wno-implicit-function-declaration", ], }), ``` look more clang-specific. I use GCC, so `-Wno-deprecated-non-prototype` is unrecognized. May be...
@haberman If I add following flags : ``` "-Wno-maybe-uninitialized", "-Wno-unused-parameter", "-Wno-missing-field-initializers", "-Wno-implicit-fallthrough", "-Wno-redundant-move", ``` to `protobuf\build_defs\cpp_opts.bzl` right after `-Werror`, protoc compiles successfully. But, anyway, I have to keep `-fpermissive` in...