diff --git a/.github/workflows/frequent_check.yml b/.github/workflows/frequent_check.yml index 37b6a7a2b..b69a59042 100644 --- a/.github/workflows/frequent_check.yml +++ b/.github/workflows/frequent_check.yml @@ -40,6 +40,7 @@ jobs: - name: msbuild run: | msbuild six.sln /p:configuration=${{ matrix.configuration }} + msbuild six.sln /p:configuration=${{ matrix.configuration }} /t:Clean build-msbuild-windows: strategy: @@ -69,6 +70,7 @@ jobs: - name: msbuild run: | msbuild six.sln /p:configuration=${{ matrix.configuration }} + msbuild six.sln /p:configuration=${{ matrix.configuration }} /t:Clean #- name: vstest # uses: microsoft/vstest-action@v1.0.0 # https://github.com/marketplace/actions/vstest-action # with: diff --git a/six/modules/c++/cpp_pch.h b/six/modules/c++/cpp_pch.h index 848fb29d5..cb76151d1 100644 --- a/six/modules/c++/cpp_pch.h +++ b/six/modules/c++/cpp_pch.h @@ -43,6 +43,8 @@ #include #include +#pragma warning(disable: 5105) // macro expansion producing '...' has undefined behavior + #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #define NOMINMAX #include