Skip to content

Commit ab4cc0e

Browse files
committed
fix compilation with new clang and new MSVC
1 parent a62459e commit ab4cc0e

File tree

4 files changed

+5362
-1857
lines changed

4 files changed

+5362
-1857
lines changed

base64.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include <vector>
2424
#include <string>
25+
#include <cstdint>
2526

2627
namespace base64 {
2728

build-windows.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ chdir build
1212

1313

1414
REM Make the MSVC project
15-
cmake -G "Visual Studio 16 2019" -A Win32 ..
15+
cmake -G "Visual Studio 17 2022" -A Win32 ..
1616
if "%ERRORLEVEL%" == "1" exit /B 1
1717

1818
REM Build for Debug and MinSizeRel
1919
REM This doesn't need to be called in the GitHub Action build
20-
if "%GITHUB_ACTION%" == "" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
20+
if "%GITHUB_ACTION%" == "" call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat"
2121
if "%ERRORLEVEL%" == "1" exit /B 1
2222
msbuild.exe -p:Configuration=Debug -p:PlatformToolset=v140 -p:PreferredToolArchitecture=x86 -p:Platform=x86 -p:PlatformTarget=x86 psicash.vcxproj
2323
if "%ERRORLEVEL%" == "1" exit /B 1

0 commit comments

Comments
 (0)