Skip to content

Commit

Permalink
Update macros.md
Browse files Browse the repository at this point in the history
Typos, typos
  • Loading branch information
puffetto authored Mar 7, 2022
1 parent d24e49a commit 91ae73a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/mkdocs/docs/features/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 91ae73a

Please sign in to comment.