mal-packet-weaver
C++20 packet serialization/deserialization library.
Loading...
Searching...
No Matches
spdlog.hpp
Go to the documentation of this file.
1
#pragma once
2
#if defined(_WIN32)
3
#include "
win-def.hpp
"
4
#ifndef NOMINMAX
5
#define NOMINMAX
6
#endif
7
#ifndef WIN32_LEAN_AND_MEAN
8
#define WIN32_LEAN_AND_MEAN
9
#endif
10
#endif
15
#if defined(__clang__)
16
#ifndef _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
17
#define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
18
#define MAL_TOOLKIT_KEEP_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING 0
19
#pragma clang diagnostic push
20
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
21
#else
22
#define MAL_TOOLKIT_KEEP_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING 1
23
#endif
24
#elif defined(__GNUC__) || defined(__GNUG__)
25
// TODO
26
#elif defined(_MSC_VER)
27
#pragma warning(push)
28
#pragma warning(disable : 4002)
29
#pragma warning(disable : 4189)
30
#pragma warning(disable : 4245)
31
#pragma warning(disable : 4616)
32
#pragma warning(disable : 4996)
33
#pragma warning(disable : 6285)
34
#pragma warning(disable : 6385)
35
#pragma warning(disable : 26437)
36
#pragma warning(disable : 26451)
37
#pragma warning(disable : 26495)
38
#pragma warning(disable : 26498)
39
#pragma warning(disable : 26800)
40
#endif
41
#include <spdlog/async.h>
42
#include <spdlog/sinks/ansicolor_sink.h>
43
#include <spdlog/sinks/basic_file_sink.h>
44
#include <spdlog/sinks/stdout_color_sinks.h>
45
#include <spdlog/spdlog.h>
46
#if defined(__clang__)
47
// TODO
48
#if !MAL_TOOLKIT_KEEP_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
49
#undef _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
50
#endif
51
#undef MAL_TOOLKIT_KEEP_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
52
53
#pragma clang diagnostic pop
54
#elif defined(__GNUC__) || defined(__GNUG__)
55
// TODO
56
#elif defined(_MSC_VER)
57
#pragma warning(pop)
58
#endif
59
60
#include "
win-undef.hpp
"
win-def.hpp
win-undef.hpp
third_party
mal-toolkit
mal-toolkit
mal-toolkit
include
spdlog.hpp
Generated on Sun Jul 14 2024 00:02:52 for mal-packet-weaver by
1.11.0