nanomsgxx icon indicating copy to clipboard operation
nanomsgxx copied to clipboard

Nanomsg binding for C++11

Results 14 nanomsgxx issues
Sort by recently updated
recently updated
newest added

Hi, I installed nanomsgxx using CMake, and then I compile a file which include nnxx/socket.h but compile error happens. ``` /usr/include/nnxx/socket.h:232:10: fatal error: 'nnxx/socket.hpp' file not found #include ^~~~~~~~~~~~~~~~~ 1...

i use cross-compiler which supports C++11 gcc 4.7 tells me that : error: expected unqualified-id before ‘[’ token why

gcc 4.8.5 on centos 7.5, build failed, follow is the error output: /nanomsgxx-master/src/nnxx/message_istream.hpp: In instantiation of ‘nnxx::basic_message_istream::basic_message_istream(nnxx::basic_message_istream&&) [with Char = char; Traits = std::char_traits]’: ../src/nnxx/message_istream.cpp:30:18: required from here /nanomsgxx-master/src/nnxx/message_istream.hpp:35:35: error:...

- Add section in Readme describing how to import `nanomsgxx` in projects - `nnxx-config.cmake` is exported to support `find_package(nnxx ...)`. - PkgConfig support added, CMake now also parses `libnnxx.pc.in` -...

`libnnxx.pc.in` required `libnanomsg`, but nanomsg exports a PkgConfig file named `nanomsg.pc` (not `libnanomsg.pc`), so the requirement was not met. See the [generating source](https://github.com/nanomsg/nanomsg/blob/master/src/CMakeLists.txt) (l. 370).

$ ./waf configure Setting top to : C:\Users\usernaame\Desktop\nanomsg\nanomsgxx Setting out to : C:\Users\ausernaame\Desktop\nanomsg\nanomsgxx\build Checking for 'msvc' (c compiler) : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\CL.exe Checking for 'msvc' (c++ compiler)...

Hello. After build and run: ctest -C Debug . first test is fails, other tests is ok. message.cpp: ... message::~message() { if (m_data != nullptr) { #ifdef NDEBUG nn_freemsg(m_data); #else...

- define preprocessor variable `NDEBUG=1`, when CMAKE_BUILD_TYPE is not Debug (cause issue #20) - fix overflowing buffer in test_message.cpp with strcpy. strcpy also copied terminating '\0', which lead to length...

I noticed in the TODO file there is "Windows support" at the top. Is this supported? I'm trying to build on Windows with a VS2014 shell and I'm stopping at...

Hi. I've installed nanomsg via Pacman, and it works fine. But then I cloned this project, ran ./waf configure, and I've got this: ``` Setting top to : /mnt/data/DEV/libs/nanomsgxx Setting...