Release v1.16.1 and C++
GNU/Linux Fedora 29
clang version 7.0.0 (Fedora 7.0.0-2.fc29)
Untar release and run make.
Successfull build
CXX] Compiling src/core/ext/transport/chttp2/transport/flow_control.cc
src/core/ext/transport/chttp2/transport/flow_control.cc: In member function ‘virtual uint32_t grpc_core::chttp2::TransportFlowControl::MaybeSendUpdate(bool)’:
src/core/ext/transport/chttp2/transport/flow_control.cc:193:50: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
static_cast
^
cc1plus: all warnings being treated as errors
make: * [Makefile:2919: /mnt/storage/grpc-1.16.1/objs/opt/src/core/ext/transport/chttp2/transport/flow_control.o] Error 1
I have disabled -Werror, build then progresses past this point. This same issue happens on the v1.17.0-pre2 as well as master.
Also worth noting is that the build has no issues on latest OSX Mojave with clang 7.0 injected into the path overriding Apple's clang altho im not sure what compiler got selected during that particular build.
Same issue on archlinux.
Please remove -Werror from user builds. -Werror is great during development but shouldn't be used by users, as it frequently breaks the build with compiler upgrades
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 180 days. It will be closed automatically if no further update occurs in 1 day. Thank you for your contributions!
Most helpful comment
Please remove -Werror from user builds. -Werror is great during development but shouldn't be used by users, as it frequently breaks the build with compiler upgrades