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
This produces a warning under -Wpendantic on GCC 9.1. The feature this depends upon is non-standard. Unfortunately ISO C++ did not adopt the use of string literal operator templates taking a character pack.
changed the title [-]Consider not making FMT_USE_USER_DEFINED_LITERALS [/-][+]Consider not making FMT_USE_USER_DEFINED_LITERALS enabled by default[/+]on May 7, 2019
This is somewhat problematic because it will be a breaking change. However, you can disable user-defined literals by defining FMT_USE_USER_DEFINED_LITERALS to 0 when including {fmt}.
Activity
[-]Consider not making FMT_USE_USER_DEFINED_LITERALS [/-][+]Consider not making FMT_USE_USER_DEFINED_LITERALS enabled by default[/+]vitaut commentedon May 8, 2019
This is somewhat problematic because it will be a breaking change. However, you can disable user-defined literals by defining
FMT_USE_USER_DEFINED_LITERALS
to 0 when including {fmt}.Disable UDL templates on GCC 9 by default (#1148)
vitaut commentedon May 11, 2019
Actually disabling just UDL templates on GCC 9 by default should be fine because it will fallback to runtime checks. Done in a6e8ed1.
Update fmtlib to fix broken compilation with gcc9