Fling Engine  0.00.1
Fling Engine is a game engine written in Vulkan
Serilization.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Platform.h"
4 
5 // Disable the cereal warnings
6 #if FLING_LINUX
7 
8 // Clang -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
9 #if defined(__clang__)
10 
11 //#pragma clang diagnostic ignored "-Wold-style-cast"
12 #pragma clang diagnostic ignored "-Wexceptions"
13 
14 // GCC -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
15 #elif defined(__GNUC__)
16 
17 //#pragma GCC diagnostic ignored "-Wunused-private-field"
18 //#pragma GCC diagnostic ignored "-Wexceptions"
19 
20 #endif
21 
22 
23 #elif FLING_WINDOWS
24 
25 // TODO: MSVC
26 
27 #endif
28 
29 #include <cereal/archives/json.hpp>
30 
31 
32 // Enable the warnings again
33 #if FLING_LINUX
34 
35 // Clang -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
36 #if defined(__clang__)
37 
38 //#pragma clang diagnostic ignored "-Wold-style-cast"
39 #pragma clang diagnostic ignored "-Wexceptions"
40 
41 // GCC -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
42 #elif defined(__GNUC__)
43 
44 //#pragma GCC diagnostic ignored "-Wunused-private-field"
45 //#pragma GCC diagnostic ignored "-Wexceptions"
46 
47 #endif
48 
49 //#pragma GCC diagnostic ignored "-Wunused-private-field"
50 //#pragma GCC diagnostic ignored "-Wexceptions"
51 
52 #elif FLING_WINDOWS
53 
54 // TODO: MSVC
55 
56 #endif