Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Resolved
-
proton-c-0.30.0
-
None
Description
Compile as in PROTON-2145, that means
mkdir _build cd _build cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local\ -DSYSINSTALL_BINDINGS=ON\ -DBUILD_STATIC_LIBS=ON\ -DBUILD_TESTING=OFF\ -DBUILD_WITH_CXX=ON\ -DENABLE_FUZZ_TESTING=OFF\ -DFUZZ_REGRESSION_TESTS=OFF make -j4 make install
The -DBUILD_WITH_CXX=ON is breaking builds on Linux
[ 28%] Building CXX object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o /qpid-proton/c/src/platform/platform.c: In function 'void pn_i_strerror(int, char*, size_t)': /qpid-proton/c/src/platform/platform.c:92:13: error: ignoring return value of 'char* strerror_r(int, char*, size_t)', declared with attribute warn_unused_result [-Werror=unused-result] strerror_r(errnum, buf, buflen); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors
Attachments
Issue Links
- is fixed by
-
PROTON-2208 Change base C language/compiler requirements to C99 or equivalent
- Closed