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
Previously, the macro FMT_CLASS_API was suppressing the 4275 warning message when format_error was declared. Since this has been removed, the format_error decl vomits a bunch of warnings when compiled with MSVC.
To fix, change:
class FMT_API format_error : public std::runtime_error {
to
class FMT_API format_error : FMT_MSC_WARNING( suppress : 4275 ) public std::runtime_error {
The text was updated successfully, but these errors were encountered:
Previously, the macro FMT_CLASS_API was suppressing the 4275 warning message when format_error was declared. Since this has been removed, the format_error decl vomits a bunch of warnings when compiled with MSVC.
To fix, change:
class FMT_API format_error : public std::runtime_error {
to
class FMT_API format_error : FMT_MSC_WARNING( suppress : 4275 ) public std::runtime_error {
The text was updated successfully, but these errors were encountered: