We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian Linux GCC 8.1 C++11 ABI with -Wall -pedantic, debug_assert 1.3.3 (from conan). If I do a plain assert like this:
DEBUG_ASSERT(<condition>, assert_handler{});
it works, but whenever I add an error message:
DEBUG_ASSERT(<condition>, assert_handler{}, "my custom message");
I get a warning about a void* conversion:
/home/manuel/.conan/data/debug_assert/1.3.3/Manu343726/testing/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/debug_assert.hpp:279:65: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive] || noexcept(Handler::handle(loc, expression, detail::forward<Args>(args)...))) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
I could try to fix it myself this weekend.
Sorry, something went wrong.
What is your assert_handler?
assert_handler
A default assert handler, like this one https://gitlab.com/Manu343726/tinyrefl/blob/jinja2-based-tool/tool/include/tinyrefl/tool/detail/assert.hpp
Then that's an odd error.
Closing as I can't reproduce.
Maybe the error is in the condition?
No branches or pull requests
Debian Linux GCC 8.1 C++11 ABI with -Wall -pedantic, debug_assert 1.3.3 (from conan). If I do a plain assert like this:
DEBUG_ASSERT(<condition>, assert_handler{});
it works, but whenever I add an error message:
I get a warning about a void* conversion:
The text was updated successfully, but these errors were encountered: