1
0
mirror of https://github.com/ROCm/jax.git synced 2025-04-20 13:56:07 +00:00

Fix C++23 build errors () ()

Co-authored-by: charleshofer <Charles.Hofer@amd.com>
This commit is contained in:
Mathew Odden 2025-03-26 15:04:49 -05:00 committed by Ruturaj4
parent b8cb69db8d
commit 6fba79468d

@ -111,6 +111,8 @@ build:clang --copt=-Wno-gnu-offsetof-extensions
build:clang --copt=-Qunused-arguments
# Error on struct/class mismatches, since this causes link failures on Windows.
build:clang --copt=-Werror=mismatched-tags
# Don't error out on C++23 extensions. Needed for building the clang-19.
build:clang --copt=-Wno-error=c23-extensions
# Configs for CUDA
build:cuda --repo_env TF_NEED_CUDA=1