Clang 13 was failing with a syntax error on the definition of variable 'meta':
auto meta = hash_marshal_meta{*this, limit};
This change adds a trivial constructor to the struct definition and calls it instead.
(I suspect the original code isn't standard C++ and only works because it falls back to C behaviour that the compiler
used to provide as an extension. However, I didn't confirm that since either way, the better solution is just to do
something less ambiguous.)
Clang 13 was failing with a syntax error on the definition of variable 'meta':
This change adds a trivial constructor to the struct definition and calls it instead.
(I suspect the original code isn't standard C++ and only works because it falls back to C behaviour that the compiler used to provide as an extension. However, I didn't confirm that since either way, the better solution is just to do something less ambiguous.)
This is a fix for https://github.com/take-cheeze/mruby-marshal/issues/41