This pull request fixes two small issues that I have found while trying to re-implement the code from USAGE.md:
The macro YOJIMBO_NEW uses a variadic parameter, but YOJIMBO_DECLARE_MESSAGE_TYPE leaves this parameter empty. This is non-standard (see e. g. Stack Overflow) and leads to a warning with clang or gcc.
YOJIMBO_VIRTUAL_SERIALIZE_FUNCTIONSin BlockMessage is terminated with a semicolon, which is superfluous and leads to a warning (at least with some options on clang).
This pull request fixes two small issues that I have found while trying to re-implement the code from
USAGE.md
:YOJIMBO_NEW
uses a variadic parameter, butYOJIMBO_DECLARE_MESSAGE_TYPE
leaves this parameter empty. This is non-standard (see e. g. Stack Overflow) and leads to a warning with clang or gcc.YOJIMBO_VIRTUAL_SERIALIZE_FUNCTIONS
inBlockMessage
is terminated with a semicolon, which is superfluous and leads to a warning (at least with some options on clang).