[libcxx-commits] [PATCH] D119134: [libcxx] Silence -Wformat-nonliteral warnings in the Windows support code
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 9 10:24:27 PST 2022
mstorsjo added inline comments.
================
Comment at: libcxx/src/support/win32/locale_win32.cpp:100
__libcpp_locale_guard __current(loc);
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wformat-nonliteral"
----------------
Mordante wrote:
> I just noticed D119295 so maybe use the macros added there before landing. (Assuming that patch will be accepted.)
Yes, maybe - I was hoping to backport this to 14.x to silence the build there too, so then it'd depend on whether that one (which is a bit bigger) is deemed OK to backport.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119134/new/
https://reviews.llvm.org/D119134
More information about the libcxx-commits
mailing list