Added MSGPACK_DISABLE_LEGACY_NIL.

Takatoshi Kondo
2016-01-21 20:32:40 +09:00
parent db2c778714
commit 356540366f
+6 -2
@@ -11,18 +11,22 @@ git clone https://github.com/msgpack/msgpack-c.git cd msgpack-c
Add msgpack-c/include as an include path for your project.
```
g++ -Ipath_to_msgpack-c/include your_program.cpp
g++ -Ipath_to_msgpack-c/include -DMSGPACK_DISABLE_LEGACY_NIL your_program.cpp
```
See [MSGPACK_DISABKE_LEGACY_NIL](v1_1_cpp_configure#msgpack_disable_legacy_nil-since-140)
## C++11 support
When you set the C++11 or later compiler option, msgpack-c enables
C++11 functionalities.
```
g++ -std=c++11 -Ipath_to_msgpack-c/include your_program.cpp
g++ -std=c++11 -Ipath_to_msgpack-c/include -DMSGPACK_DISABLE_LEGACY_NIL your_program.cpp
```
See [MSGPACK_DISABKE_LEGACY_NIL](v1_1_cpp_configure#msgpack_disable_legacy_nil-since-140)
## Test and Install
### Using autotools