You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2020/08/18 19:37:00 UTC
[jira] [Resolved] (PROTON-1455) Problem building on Ubuntu xenial
with g++
[ https://issues.apache.org/jira/browse/PROTON-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Daněk resolved PROTON-1455.
--------------------------------
Fix Version/s: proton-c-0.32.0
Resolution: Not A Problem
> Problem building on Ubuntu xenial with g++
> ------------------------------------------
>
> Key: PROTON-1455
> URL: https://issues.apache.org/jira/browse/PROTON-1455
> Project: Qpid Proton
> Issue Type: Bug
> Components: build, proton-c
> Reporter: Irina Boverman
> Assignee: Justin Ross
> Priority: Major
> Fix For: proton-c-0.32.0
>
>
> 31%] Building CXX object proton-c/CMakeFiles/qpid-proton.dir/src/messenger/transform.c.o
> cd /proton/build/proton-c && /usr/bin/c++ -std=c++11 -Dqpid_proton_EXPORTS -I/proton/build/proton-c/src -I/proton/build/proton-c/include -I/proton/proton-c/src -I/proton/proton-c/include -fvisibility=hidden -O2 -g -DNDEBUG -fPIC -Werror -Wall -pedantic-errors -Wno-format -Wno-variadic-macros -o CMakeFiles/qpid-proton.dir/src/messenger/transform.c.o -c /proton/proton-c/src/messenger/transform.c
> [ 31%] Building CXX object proton-c/CMakeFiles/qpid-proton.dir/src/platform/platform.c.o
> cd /proton/build/proton-c && /usr/bin/c++ -std=c++11 -Dqpid_proton_EXPORTS -DUSE_ATOLL -DUSE_CLOCK_GETTIME -DUSE_STRERROR_R -I/proton/build/proton-c/src -I/proton/build/proton-c/include -I/proton/proton-c/src -I/proton/proton-c/include -fvisibility=hidden -O2 -g -DNDEBUG -fPIC -Werror -Wall -pedantic-errors -Wno-format -Wno-variadic-macros -o CMakeFiles/qpid-proton.dir/src/platform/platform.c.o -c /proton/proton-c/src/platform/platform.c
> /proton/proton-c/src/platform/platform.c: In function 'void pn_i_strerror(int, char*, size_t)':
> /proton/proton-c/src/platform/platform.c:92:34: 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
> proton-c/CMakeFiles/qpid-proton.dir/build.make:1081: recipe for target 'proton-c/CMakeFiles/qpid-proton.dir/src/platform/platform.c.o' failed
> make[2]: Leaving directory '/proton/build'
> make[2]: *** [proton-c/CMakeFiles/qpid-proton.dir/src/platform/platform.c.o] Error 1
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org