You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/socket.cpp: In member function 'int czmqpp::socket::bind(const string&)':
src/socket.cpp:63:47: error: format not a string literal and no format arguments [-Werror=format-security]
return zsocket_bind(self_, address.c_str());
^
src/socket.cpp: In member function 'int czmqpp::socket::connect(const string&)':
src/socket.cpp:68:50: error: format not a string literal and no format arguments [-Werror=format-security]
return zsocket_connect(self_, address.c_str());
^
cc1plus: some warnings being treated as errors
make: *** [Makefile:608: src/socket.lo] Error 1
Versions:
czmqpp 1.2.0
czmq 3.0.2
g++ 5.4.0
The text was updated successfully, but these errors were encountered:
chris-martin
changed the title
What version of czmq does czmqpp compile against?
error: format not a string literal and no format arguments
Sep 15, 2016
I'm not sure why the -Wno-format-security workaround from 30d12c0 isn't working, but I think the real fix is as simple as using a format string of %s, e.g.
I'm getting this error trying to build:
Versions:
The text was updated successfully, but these errors were encountered: