Skip to content

Commit

Permalink
Fix the cl.exe -std argument used for compiling C++ std modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetarpmedia committed May 23, 2024
1 parent 14416b6 commit 60abae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regression-tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ regression_test_link_obj=""
if [[ "$cxx_compiler" == *"cl.exe"* ]]; then
echo "Building std and std.compat modules"
(cd $exec_out_dir; \
cl.exe -nologo -std:c++latest -MD -EHsc -c "${VCToolsInstallDir}/modules/std.ixx";
cl.exe -nologo -std:c++latest -MD -EHsc -c "${VCToolsInstallDir}/modules/std.compat.ixx")
cl.exe -nologo -std:${cxx_std} -MD -EHsc -c "${VCToolsInstallDir}/modules/std.ixx";
cl.exe -nologo -std:${cxx_std} -MD -EHsc -c "${VCToolsInstallDir}/modules/std.compat.ixx")
regression_test_link_obj="std.obj std.compat.obj"
fi

Expand Down

0 comments on commit 60abae1

Please sign in to comment.