diff --git a/.github/workflows/single-file-build-and-test.yml b/.github/workflows/single-file-build-and-test.yml index b1ed9270..0c258bb6 100644 --- a/.github/workflows/single-file-build-and-test.yml +++ b/.github/workflows/single-file-build-and-test.yml @@ -43,5 +43,5 @@ jobs: - name: Build and run test shell: cmd run: | - cl.exe /std:c++14 single-file-test.cc + cl.exe /std:c++14 /W4 /WX /EHsc single-file-test.cc single-file-test.exe diff --git a/single-file-test.cc b/single-file-test.cc index 62e8bd99..16f0e0cc 100644 --- a/single-file-test.cc +++ b/single-file-test.cc @@ -38,7 +38,7 @@ bool expect_equal(ExpectedT expected, ActualT actual) { return true; } -int main(int argc, char **argv) { +int main(int, char **) { const std::vector results{ { expect_equal((meters / second)(5) * seconds(6), meters(30)),