Open glaubitz opened 5 years ago
I'm seeing this as well.
Looks like -Werror
is coming from one of the cmake files, I dropped the lines that reference it from these three files and have a successful build:
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/testtools/ctest/CMakeLists.txt
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/testtools/umock-c/CMakeLists.txt
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/configs/azure_iot_build_rules.cmake
The build currently fails with gcc-8 on openSUSE Tumbleweed with:
This is because multiple cmake files pass
-Werror
to the compiler:At the time, gcc generates warnings for the code. Thus, in order to fix this, either drop
-Werror
from the C/CXXFLAGS or fix the warnings.