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
trace.hpp
-Wshorten-64-to-32
When attempting to use complete_trace with clang version 18.1.8 and -Wshorten-64-to-32 option:
complete_trace
/usr/include/tao/pegtl/contrib/trace.hpp:87:34: fatal error: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 87 | std::cerr << std::setw( indent() ) << ' ' << TracerTraits::ansi_position << "position" << TracerTraits::ansi_reset << ' ' << m_position << '\n'; | ~~~ ^~~~~~~~
The text was updated successfully, but these errors were encountered:
Fix #370.
be52732
Quick fix is in 3.2.8, fixes for the main and work branches will follow soon.
main
work
Sorry, something went wrong.
ColinH
No branches or pull requests
When attempting to use
complete_trace
with clang version 18.1.8 and-Wshorten-64-to-32
option:The text was updated successfully, but these errors were encountered: