Skip to content

Commit

Permalink
Change to /std:c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanWang-Amos committed Feb 20, 2025
1 parent f261ebd commit 3af3afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/grpcio_observability/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def get_ext_filename(self, ext_name):
if EXTRA_ENV_COMPILE_ARGS is None:
EXTRA_ENV_COMPILE_ARGS = ""
if "win32" in sys.platform:
EXTRA_ENV_COMPILE_ARGS += "/std=c++17"
EXTRA_ENV_COMPILE_ARGS += "/std:c++17"
# We need to statically link the C++ Runtime, only the C runtime is
# available dynamically
EXTRA_ENV_COMPILE_ARGS += " /MT"
Expand Down

0 comments on commit 3af3afb

Please sign in to comment.