[ 
https://issues.apache.org/jira/browse/PROTON-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Ross reassigned PROTON-1455:
-----------------------------------

    Assignee: Justin Ross

> 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
>            Reporter: Irina Boverman
>            Assignee: Justin Ross
>
>  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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to