Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 702d106

Browse files
committed
fix(build): ensure C++17 is used
1 parent f0d4a68 commit 702d106

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.idea
2-
cmake-build-debug
2+
cmake-build-debug-*
33
.gitignore

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.27)
22
project(Aplos)
33

4-
set(CMAKE_CXX_STANDARD 14)
4+
set(CMAKE_CXX_STANDARD 17)
55

66
include_directories(include)
77

src/Aplos.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <windows.h>
22
#include <cstdio>
33
#include <tchar.h>
4-
#include <atlstr.h>
4+
//#include <atlstr.h>
55
#include <fstream>
66
#include <iostream>
77
#include <sstream>
@@ -80,6 +80,7 @@ BOOL mutateInputs(const string& filename, const string& mut, const string& input
8080
CloseHandle(pi.hProcess);
8181
CloseHandle(pi.hThread);
8282

83+
return TRUE;
8384
}
8485

8586
void reportCrash(const string& exceptionMessage, DWORD exceptionCode, const string& inputFile)
@@ -166,6 +167,7 @@ DWORD ProcessDebugEvent(DEBUG_EVENT* debugEvent, const string& inputFile)
166167
}
167168
return exceptionCode;
168169
}
170+
return TRUE;
169171
}
170172

171173
BOOL runTargetProcess(const string& targetApp, const string& inputFile)
@@ -212,6 +214,7 @@ BOOL runTargetProcess(const string& targetApp, const string& inputFile)
212214
CloseHandle(pi.hProcess);
213215
CloseHandle(pi.hThread);
214216

217+
return TRUE;
215218
}
216219

217220
int _tmain(int argc, char *argv[])

0 commit comments

Comments
 (0)