Skip to content

Commit 2ded010

Browse files
committed
Increase warning level and fix issues, bump version.
1 parent cc349bf commit 2ded010

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([libczmqpp], [0.4.0], [[email protected]])
1+
AC_INIT([libczmqpp], [0.4.1], [[email protected]])
22
AC_USE_SYSTEM_EXTENSIONS
33
AC_LANG(C++)
44
AC_CONFIG_AUX_DIR([build-aux])
@@ -16,7 +16,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
1616
PKG_PROG_PKG_CONFIG
1717
PKG_CHECK_MODULES([libczmq], [libczmq])
1818

19-
AM_CXXFLAGS="-ggdb -g3 -Wall -Wno-missing-braces -pedantic -Wextra -fstack-protector-all -DDEBUG"
19+
AM_CXXFLAGS="-ggdb -g3 -Wall -Wno-missing-braces -Wno-format-security -pedantic -Wextra -fstack-protector-all -DDEBUG"
2020
AC_SUBST([AM_CXXFLAGS])
2121

2222
AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=PATH],

libczmq++.pc.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ libdir=@libdir@
44
includedir=@includedir@
55

66
Name: libczmq++
7-
Description: Rewrite bitcoin, make it super-pluggable, very easy to do and hack everything at every level, and very configurable.
8-
URL: http://github.com/darkwallet/czmqpp
7+
Description: Object helpers for czmq.
8+
URL: https://github.com/zeromq/czmqpp
99
Version: @PACKAGE_VERSION@
1010
Requires: libczmq
1111
Cflags: -I${includedir} -std=c++11

src/socket.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ void* socket::self() const
5959

6060
int socket::bind(const std::string& address)
6161
{
62+
// format-security: format not a string literal and no format arguments.
6263
return zsocket_bind(self_, address.c_str());
6364
}
6465
int socket::connect(const std::string& address)
6566
{
67+
// format-security: format not a string literal and no format arguments.
6668
return zsocket_connect(self_, address.c_str());
6769
}
6870

0 commit comments

Comments
 (0)