diff --git a/stl/inc/coroutine b/stl/inc/coroutine index 185fb015536..f913d1b4048 100644 --- a/stl/inc/coroutine +++ b/stl/inc/coroutine @@ -15,8 +15,10 @@ #pragma message(_WARNING_MESSAGE("STL4033", "Use for legacy /await support.")) #else // ^^^ /await ^^^ / vvv no /await vvv #ifndef __cpp_lib_coroutine -#pragma message(_WARNING_MESSAGE( \ - "STL4033", "The contents of are available only with C++20 or later or /await:strict.")) +// clang-format off +#pragma message( \ + _WARNING_MESSAGE("STL4033","The contents of are available only with C++20 or later or /await:strict.")) +// clang-format on #else // ^^^ is not available / is available vvv #ifndef _ALLOW_COROUTINE_ABI_MISMATCH #pragma detect_mismatch("_COROUTINE_ABI", "2") diff --git a/stl/inc/format b/stl/inc/format index fb6e572581e..42f3e8d763a 100644 --- a/stl/inc/format +++ b/stl/inc/format @@ -40,8 +40,10 @@ #include #if _STL_COMPILER_PREPROCESSOR #ifndef __cpp_lib_format -#pragma message(_WARNING_MESSAGE( \ - "STL4033", "The contents of are available only in c++latest mode with concepts support;")) +// clang-format off +#pragma message( \ + _WARNING_MESSAGE("STL4033","The contents of are available only in c++latest mode with concepts support;")) +// clang-format on #pragma message(_WARNING_MESSAGE("STL4033", "see https://github.com/microsoft/STL/issues/1814 for details.")) #else // ^^^ !defined(__cpp_lib_format) / defined(__cpp_lib_format) vvv diff --git a/stl/inc/ranges b/stl/inc/ranges index af2bb2f07a5..ce86c7e48ec 100644 --- a/stl/inc/ranges +++ b/stl/inc/ranges @@ -9,8 +9,10 @@ #include #if _STL_COMPILER_PREPROCESSOR #ifndef __cpp_lib_ranges -#pragma message(_WARNING_MESSAGE( \ - "STL4033", "The contents of are available only in c++latest mode with concepts support;")) +// clang-format off +#pragma message( \ + _WARNING_MESSAGE("STL4033","The contents of are available only in c++latest mode with concepts support;")) +// clang-format on #pragma message(_WARNING_MESSAGE("STL4033", "see https://github.com/microsoft/STL/issues/1814 for details.")) #else // ^^^ !defined(__cpp_lib_ranges) / defined(__cpp_lib_ranges) vvv #include