diff --git a/Utilities/StrFmt.h b/Utilities/StrFmt.h index 430e65a8d0..d4e46917eb 100644 --- a/Utilities/StrFmt.h +++ b/Utilities/StrFmt.h @@ -85,7 +85,7 @@ namespace fmt{ { std::vector buffptr(length); #pragma clang diagnostic push -#pragma clang diagnostic ignored "-wFormat-security" +#pragma clang diagnostic ignored "-Wformat-security" int printlen = snprintf(buffptr.data(), length, fmt.c_str(), std::forward(parameters)...); #pragma clang diagnostic pop if (printlen >= 0 && printlen < length)