diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-28 17:24:30 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-28 17:24:30 +0100 |
commit | c1859c3bab84dd1e712b946f4976702cfd9db5d2 (patch) | |
tree | 760bc5caf416e27eeea66e7a9e517db092286e3a /src/_pch.h | |
parent | 0c23f179a46f919adf075b46f4cb8cbff3fc8ebb (diff) | |
download | lanes-c1859c3bab84dd1e712b946f4976702cfd9db5d2.tar.gz lanes-c1859c3bab84dd1e712b946f4976702cfd9db5d2.tar.bz2 lanes-c1859c3bab84dd1e712b946f4976702cfd9db5d2.zip |
Renamed _pch.h → _pch.hpp, deep.h → deep.hpp, lanes.h → lanes.hpp
Diffstat (limited to 'src/_pch.h')
-rw-r--r-- | src/_pch.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/_pch.h b/src/_pch.h deleted file mode 100644 index 1c7b7dc..0000000 --- a/src/_pch.h +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <algorithm> | ||
4 | #include <array> | ||
5 | #include <atomic> | ||
6 | #include <bit> | ||
7 | #include <cassert> | ||
8 | #include <chrono> | ||
9 | #include <compare> | ||
10 | #include <concepts> | ||
11 | #include <condition_variable> | ||
12 | #include <functional> | ||
13 | #include <iostream> | ||
14 | #ifndef __PROSPERO__ | ||
15 | #include <latch> | ||
16 | #endif // __PROSPERO__ | ||
17 | #include <mutex> | ||
18 | #include <optional> | ||
19 | #include <ranges> | ||
20 | #include <source_location> | ||
21 | //#include <stop_token> | ||
22 | #include <string_view> | ||
23 | #include <thread> | ||
24 | #include <tuple> | ||
25 | #include <type_traits> | ||
26 | #include <utility> | ||
27 | #include <variant> | ||
28 | |||
29 | #ifdef _MSC_VER | ||
30 | |||
31 | // warning level /Wall triggers a bunch of warnings in Lua headers. we can't do anything about that, so suppress them | ||
32 | #pragma warning(push) | ||
33 | #pragma warning(disable : 4820) // 'n' bytes padding added after data member 'x' | ||
34 | |||
35 | #endif // _MSC_VER | ||
36 | |||
37 | #ifdef __cplusplus | ||
38 | extern "C" | ||
39 | { | ||
40 | #endif // __cplusplus | ||
41 | #include "lua.h" | ||
42 | #include "lualib.h" | ||
43 | #include "lauxlib.h" | ||
44 | #ifdef __cplusplus | ||
45 | } | ||
46 | #endif // __cplusplus | ||
47 | |||
48 | #ifdef _MSC_VER | ||
49 | |||
50 | #pragma warning(pop) | ||
51 | |||
52 | #pragma warning(disable : 4061) // enumerator 'x' in switch of 'y' is not explicitly handled by a case label | ||
53 | #pragma warning(disable : 4514) // 'x': unreferenced inline function has been removed | ||
54 | #pragma warning(disable : 4623) // 'x': default constructor was implicitly defined as deleted | ||
55 | #pragma warning(disable : 4623) // 'x': default constructor was implicitly defined as deleted | ||
56 | #pragma warning(disable : 4625) // 'x': copy constructor was implicitly defined as deleted | ||
57 | #pragma warning(disable : 4626) // 'x': assignment operator was implicitly defined as deleted | ||
58 | #pragma warning(disable : 4820) // 'n' bytes padding added after data member 'x' | ||
59 | #pragma warning(disable : 5026) // 'x': move constructor was implicitly defined as deleted | ||
60 | #pragma warning(disable : 5027) // 'x': move assignment operator was implicitly defined as deleted | ||
61 | #pragma warning(disable : 5039) // 'x': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. | ||
62 | #pragma warning(disable : 5045) // Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified | ||
63 | #pragma warning(disable : 5220) // 'x': a non-static data member with a volatile qualified type no longer implies that compiler generated copy/move constructors and copy/move assignment operators are not trivial | ||
64 | #pragma warning(disable : 5246) // 'x': the initialization of a subobject should be wrapped in braces | ||
65 | |||
66 | #endif // _MSC_VER | ||