Open mikapak opened 8 years ago
msgpack-c uses malloc, realloc, free, new, and delete. You need to port them.
msgpack-c uses C++11's atomic or __gnu_cxx::__exchange_and_add See https://github.com/msgpack/msgpack-c/blob/224a830ce07fa629a757dade0abead2203e276df/include/msgpack/v1/unpack.hpp#L308
As far as I can remember, they are platform dependent code. If you want to use without them, you need to modify code or introduce some macros.
msgpack.hpp includes most of header files of msgpack-c. You might not need all of them. You can include individual header file to minimize platform dependency. For example, you might not need STL container adaptor support.
I want to use msgpack -c in embedded system project where CPU is stm32f4 and I can't use windows or linux files. getting error with os dependent file. Could anyone help me to port msgpack-c in non os platform.