mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Define _SILENCE_CLANG_COROUTINE_MESSAGE for the :windows cc_library.
The experimental/coroutine header is not officially supported by lexan. In the next Windows SDK release, this is signaled by an error during compilation, which is silenced by setting \D_SILENCE_CLANG_COROUTINE_MESSAGE from the command line. This change sets _SILENCE_CLANG_COROUTINE_MESSAGE in advance of the SDK release. This prevents a break from occurring when the new SDK is released. BEGIN_PUBLIC END_PUBLIC BROKEN: sponge/8b4d6f2f-c407-4860-a0f7-60102a8d003a WORKING: sponge/fa0111e2-4780-4757-8cf0-da46672648b9 PiperOrigin-RevId: 419499670
This commit is contained in:
@@ -111,6 +111,7 @@ cc_library(
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-Ithird_party/nearby/cpp/platform/impl/windows/generated"],
|
||||
defines = ["_SILENCE_CLANG_COROUTINE_MESSAGE"],
|
||||
visibility = [
|
||||
"//third_party/nearby/windows:__subpackages__",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user