Results 358 comments of Takatoshi Kondo

```cmake TARGET_COMPILE_DEFINITIONS(msgpackc-cxx MSGPACK_CXX11 MSGPACK_CXX14 MSGPACK_CXX17 ... MSGPACK_USE_BOOST ...) ``` This is wrong. I wrote cmake options as arguments. In @leocencetti example, it is C++ compiler option (macro definition by -D...

Little by little, I'm understanding the essential issue. The issue is: How to reflect cmake sub project's compiler options to the parent cmake project.

> How to reflect cmake sub project's compiler options to the parent cmake project. I studied about that. I couldn't find a good way to do that. In order to...

I asked this question to stackoverflow and got the answer. https://stackoverflow.com/questions/73229948/how-to-propagate-sub-projects-conditional-macro-definitions-to-parent-project/73240728#73240728 I just glanced the answer but I think that conditional reflection to the parent project can possible! I will...

Thanks you for reporting the issue. @ygj6, could you check this?

Hi @charlesrwest , If you can use the Boost, use `msgpack::type::variant` or `msgpack::type::variant_ref`. The former can contain variant types without external storage. The latter requires keeping the lifetime of the...

I fixed your code. http://melpon.org/wandbox/permlink/VsLLbyFOzQWHWMws See https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_adaptor "Example:" ``` cpp msgpack::pack(inputStream, (int64_t) inputVariant); ``` should be ``` cpp inputStream.pack( (int64_t) inputVariant); ``` By the way, the variable inputStream is a...

See https://wandbox.org/permlink/FpMxBj4apeE6ojeu Here is a tutorial https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_tutorial