ezEngine  Milestone 7
CheckDefinitions.h
1 #pragma once
2 
3 #ifndef NULL
4  #error "NULL is not defined."
5 #endif
6 
7 #ifndef EZ_FORCE_INLINE
8  #error "EZ_FORCE_INLINE is not defined."
9 #endif
10 
11 #ifndef EZ_RESTRICT
12  #error "EZ_RESTRICT is not defined."
13 #endif
14 
15 #ifndef EZ_ANALYSIS_ASSUME
16  #error "EZ_ANALYSIS_ASSUME is not defined."
17 #endif
18 
19 #ifndef EZ_ANALYSIS_IGNORE_WARNING_ONCE
20  #error "EZ_ANALYSIS_IGNORE_WARNING_ONCE is not defined."
21 #endif
22 
23 #ifndef EZ_ANALYSIS_IGNORE_WARNING_START
24  #error "EZ_ANALYSIS_IGNORE_WARNING_START is not defined."
25 #endif
26 
27 #ifndef EZ_ANALYSIS_IGNORE_WARNING_END
28  #error "EZ_ANALYSIS_IGNORE_WARNING_END is not defined."
29 #endif
30 
31 #ifndef EZ_ANALYSIS_IGNORE_ALL_START
32  #error "EZ_ANALYSIS_IGNORE_ALL_START is not defined."
33 #endif
34 
35 #ifndef EZ_ANALYSIS_IGNORE_ALL_END
36  #error "EZ_ANALYSIS_IGNORE_ALL_END is not defined."
37 #endif
38 
39 #ifndef EZ_ALIGN
40  #error "EZ_ALIGN is not defined."
41 #endif
42 
43 #ifndef EZ_ALIGNMENT_OF
44  #error "EZ_ALIGNMENT_OF is not defined."
45 #endif
46 
47 #if EZ_IS_NOT_EXCLUSIVE(EZ_PLATFORM_32BIT, EZ_PLATFORM_64BIT)
48  #error "Platform is not defined as 32 Bit or 64 Bit"
49 #endif
50 
51 #ifndef EZ_DEBUG_BREAK
52  #error "EZ_DEBUG_BREAK is not defined."
53 #endif
54 
55 #ifndef EZ_SOURCE_FUNCTION
56  #error "EZ_SOURCE_FUNCTION is not defined."
57 #endif
58 
59 #ifndef EZ_SOURCE_FILE
60  #error "EZ_SOURCE_FILE is not defined."
61 #endif
62 
63 #ifndef EZ_SOURCE_LINE
64  #error "EZ_SOURCE_LINE is not defined."
65 #endif
66 
67 #if EZ_IS_NOT_EXCLUSIVE(EZ_PLATFORM_LITTLE_ENDIAN, EZ_PLATFORM_BIG_ENDIAN)
68  #error "Endianess is not correctly defined!"
69 #endif
70 
71 #ifndef EZ_MATH_CHECK_FOR_NAN
72  #error "EZ_MATH_CHECK_FOR_NAN is not defined."
73 #endif
74