Commit e0b3a4b
committed
Updated VS 2013 project files to use the VS 2013 compiler
List of changes made to make MTA compatible to the v120 compiler:
- Changed return type of CMapEvent::GetName to SString
- Added two casts which were implicit in vs2008 to game_sa/CWaterSA.cpp
- Fixed implementation-depending file read in game_sa/CAudioContainerSA.cpp
- Added C++11 standard conforming variant of SharedUtil.HashMap.h hash_value (#ifdef'ed)
This should work fine with a modern gcc as well, but the version currently used to compile MTA isn't compatible with C++11 in this regard.
- Added #include <algorithm> to CEGUI and tinygettext for std::min and std::max
- Added preprocessor definition PA_WDMKS_NO_KSGUID_LIB to avoid linking to ksguid.lib
- Added libspeex.lib built with vs2013
- Added additional #ifdef for va_copy to SString.h and WString.h which is directly available from VS 2013 (Warning)
- Disabled /SAFESEH for projects where we can't use it (detours.lib and several bass libraries)
The above changes were applied in a compatible manner with VS 2008.1 parent f208dab commit e0b3a4b
2 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments