niXman
niXman
still, what compiler do you use? because in the subject I can see `AppleClang` but in the body `export CXX=/opt/local/bin/g++-mp-9` and `-- The CXX compiler identification is GNU 9.2.0`
I can't confirm this issue using gcc-9.2.1 on linux.
also, please compile and execute this code using the same compiler: ```cpp #include template void foo(Types ...) { std::cout
in the topic you write about one error, but now you write about another... how many members in the YAS_OBJECT() in the last paste?
`wchar.h: No such file or directory` - I think this error is due to the fact that some package is not installed...
`error: no matching function for call to 'tuple_switch'` - I think you forgot to specify `YAS_OBJECT_MAX_MEMBERS`: https://github.com/niXman/yas/blob/master/tests/base/CMakeLists.txt#L14
please attach this output as file, not as copy-paste
there are two different errors for different compilers. will try to solve the error that occurs when using GCC. please compile, execute and show me the output for this code:...
please change [this](https://github.com/niXman/yas/blob/master/include/yas/types/utility/buffer.hpp#L71) line to `const std::uint64_t b64size = modp_b64_encode(ar, buf.data, buf.size);` and let me know about the result.
and [this](https://github.com/niXman/yas/blob/master/include/yas/types/utility/buffer.hpp#L107) line the same way please.