mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
Added MSGPACK_DISABLE_LEGACY_NIL.
+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
|
||||
|
||||
Reference in New Issue
Block a user