diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 5a3412ef..0823cbf2 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -23,6 +23,7 @@ #else # define FMT_LIFETIMEBOUND #endif +FMT_PRAGMA_CLANG(diagnostic error "-Wreturn-stack-address") FMT_BEGIN_NAMESPACE