- 21 Feb, 2016 2 commits
-
-
Osiris authored
Solution: The Coverity Static Code Analyzer was used on libzmq code and found many issues with uninitialized member variables, some redefinition of variables hidding previous instances of same variable name and a couple of functions where return values were not checked, even though all other occurrences were checked (e.g. init_size() return).
-
Pieter Hintjens authored
Bump C/C++ standard version support to C11/C++11
-
- 20 Feb, 2016 2 commits
-
-
Constantin Rack authored
-
OBATA Akio authored
-
- 19 Feb, 2016 7 commits
-
-
Luca Boccassi authored
Solution: remove it
-
Luca Boccassi authored
Solution: bump to C++11 and C11 in autoconf
-
Luca Boccassi authored
Solution: use CheckCXXCompilerFlag to check for support for -std=gnu++11
-
Luca Boccassi authored
Solution: import macros to check for compiler options from autoconf-archive into the m4 subdir.
-
Luca Boccassi authored
Precompiled
-
Luca Boccassi authored
Problem: tweetnacl gives many warnings on MSVC
-
Pieter Hintjens authored
Solution: disable the warnings on this file only We use pragmas wrapped in compiler conditionals. This will need extending to non-gcc/msvc compilers. We could also fix the warnings in the code, though I suspect it's not really possible.
-
- 18 Feb, 2016 6 commits
-
-
Osiris authored
Solution: Phase II - made compile using precompiled header
-
Osiris authored
Solution: Phase I - make precompiled.hpp be first file included in every source file
-
Luca Boccassi authored
Problem: VC++ gives warnings on inet_addr
-
Pieter Hintjens authored
Solution: in project.gyp, define _WINSOCK_DEPRECATED_NO_WARNINGS
-
Pieter Hintjens authored
Deprecate zmq_utils.h
-
Min RK authored
instead of removing it, which breaks downstream builds.
-
- 17 Feb, 2016 12 commits
-
-
Luca Boccassi authored
problem: dynamic cast is causing issue when compiling for nodejs
-
somdoron authored
-
Luca Boccassi authored
Problem: Windows build script requires edit for DevStudio version
-
Osiris authored
Solution: Use CMD.EXE environment variable to extract DevStudio version number and build using it. This even supports machines with multiple DevStudio versions installed, as long as the build for each version is done on a separate window with the correct environment. If multiple version builds are desired from a single CMD.EXE, edit the buildall.bat file to uncomment the build statements for each specific version desired.
-
Constantin Rack authored
Number of fixes for gyp builds
-
Pieter Hintjens authored
Solution: remove it
-
Pieter Hintjens authored
libzmq used to switch off pedantic checks when using tweetnacl. As this is now the default, that means pedantic checks are always off. This is not good. Solution: in tweetnacl.c alone, use a GCC pragma to disable sign comparison warnings. We could also clean the code up yet this is simpler. In other code, we still want those warnings, hence I've used a pragma rather than global compile option. Second, use -Wno-long-long all the time, as this warning does not work with a pragma. I removed code that set -wno-long-long, for MinGW and Solaris. Related problem 2: --with-relaxed is badly named This option switches off pedantic checks, so should be called --disable-pedantic. 'with' is for optional packages.
-
Pieter Hintjens authored
Solution: override in project.gyp, for Linux and OS/X.
-
Pieter Hintjens authored
Gyp needs its own platform.hpp; there is no way to delete this file automatically. Solution: copy gyp's platform.hpp into src, so that things build properly no matter what the starting state. If you build with gyp and then try to build using autotools' makefile, you'll get an error from the platform.hpp.
-
Pieter Hintjens authored
Solution: add .gitignore in builds/gyp
-
Pieter Hintjens authored
Solution: raise to 16K
-
Pieter Hintjens authored
Solution: fix in CMakeLists.txt (already fixed in builds/msvc)
-
- 16 Feb, 2016 2 commits
-
-
Pieter Hintjens authored
Problem: curve keys getsockopt uninitialised read
-
Luca Boccassi authored
Solution: always initialised zmq::options_t class variables arrays to avoid reading uninitialised data when CURVE is not yet configured and a getsockopt ZMQ_CURVE_{SERVER | PUBLIC | SECRET]KEY is issued.
-
- 13 Feb, 2016 9 commits
-
-
Pieter Hintjens authored
Various test fixes
-
Luca Boccassi authored
Solution: increase SETTLE_TIME from 50ms to 300ms to avoid failing on slower environments like through Valgrind on slow VMs.
-
Luca Boccassi authored
Solution: suggest to use the common approach of msleep (SETTLE_TIME) after a connect if necessary, rather than reimplementing a different way.
-
Luca Boccassi authored
Solution: include pthread.h in testutil.hpp, removed from test_shutdown_stress_tipc in an earlier commit
-
Luca Boccassi authored
Solution: rename from test_socketopt_hwm to test_sockopt_hwm in .gitignore too
-
Luca Boccassi authored
Solution: add msleep (SETTLE_TIME) to test_immediate, test_spec_rep and test_spec_router after the sockets are created and connected to avoid failing when running in slower environment like through Valgrind in underpowered VMs.
-
Luca Boccassi authored
Solution: use msleep (SETTLE_TIME) everywhere when waiting for the connections/sockets to be settled instead of a variety of patterns and functions to make tests more coherent.
-
Luca Boccassi authored
Solution: memset temporary buffer before use to reduce Valgrind noise
-
Luca Boccassi authored
Solution: memset temporary buffer before use to reduce Valgrind noise
-