You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
causes compilation error due to GCC compiler bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879#c6).
Error message: error: accessing value of '<anonymous>.fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, X, int>::context_.fmt::v9::detail::compile_parse_context<char, fmt::v9::detail::error_handler>::<anonymous>' through a 'fmt::v9::detail::compile_parse_context<char, fmt::v9::detail::error_handler>' glvalue in a constant expression
This can be workarounded with parse context template parameter:
Perhaps it's a good idea to add a workaround in fmt code, somehow.
If not, this issue can be closed, hope it'll help someone who stumbles upon this obscure bug.
The text was updated successfully, but these errors were encountered:
Test case (https://godbolt.org/z/1KvqKjf4n):
causes compilation error due to GCC compiler bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879#c6).
Error message:
error: accessing value of '<anonymous>.fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, X, int>::context_.fmt::v9::detail::compile_parse_context<char, fmt::v9::detail::error_handler>::<anonymous>' through a 'fmt::v9::detail::compile_parse_context<char, fmt::v9::detail::error_handler>' glvalue in a constant expression
This can be workarounded with parse context template parameter:
Perhaps it's a good idea to add a workaround in fmt code, somehow.
If not, this issue can be closed, hope it'll help someone who stumbles upon this obscure bug.
The text was updated successfully, but these errors were encountered: