Update macros.md

Typos, typos
This commit is contained in:
Andrea Cocito 2022-03-07 10:09:34 +01:00 committed by GitHub
parent d24e49ae6d
commit 91ae73a3b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,8 +51,7 @@ that enabling this macro increases the size of every JSON value by one pointer a
The diagnostics messages can also be controlled with the CMake option `JSON_Diagnostics` (`OFF` by default) which sets
`JSON_DIAGNOSTICS` accordingly.
WARNING: As thus macro changes the definition of the json object, it MUST be defined in the same way globally, even across different compilation units.
No NOT link together code compiled with and without JSON_DIAGNOSTICS defined as this is a violation of the One Definition Rule and will cause undefined behaviour.
WARNING: As this macro changes the definition of the json object, it MUST be defined in the same way globally, even across different compilation units; do NOT link together code compiled with and without JSON_DIAGNOSTICS defined as this is a violation of the One Definition Rule and will cause undefined behaviour.
!!! info "Default behavior"