raze/source/common/utility
Christoph Oelckers 19363ac23e - project contortions to make MSVC print our own deprecations but silence the ones from the compiler.
Since everything uses the same warning number, the old setup resulted in [[deprecated]] being silenced.
So this explicitly adds the needed #defines to silence the very noisy warning from the MSVC headers but leaves warning 4996 active otherwise.

In particlular this does:

* silence all warnings in the subprojects
* do not derive TIterator from std::iterator anymore as C++17 deprecates this.
* silence the above for RapidJSON because altering that code is not desirable.
* explicitly disable warning 4996 in some Windows files that call the deprecated (but still needed) GetVersionEx function.
* define _CRT_SECURE_NO_DEPRECATE, _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_WARNINGS through CMake to disable the CRT's deprecation and security warnings.

Currently this will print several (intended) deprecation warnings about 'updatesector' that point to code that needs to be changed but cannot yet without other refactorings being done first.
2021-11-06 16:48:31 +01:00
..
basics.h - use std::clamp instead of our homegrown version. 2021-10-30 10:35:00 +02:00
cmdlib.cpp - Replace MIN() from templates.h with version provided in STL. 2021-10-30 10:36:15 +02:00
cmdlib.h - ported my old Build-style renderer for Doom from 2008 and the wall renderer from GZDoom to work with Build data. 2021-03-17 16:54:36 +01:00
colormatcher.h - changed palette lookup to consider the remapping of color 0 to 255. 2021-08-14 10:26:04 +02:00
configfile.cpp - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
configfile.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
engineerrors.cpp - backend code matching with GZDoom 2020-04-12 08:30:40 +02:00
engineerrors.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
filereadermusicinterface.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
files.cpp - removed templates.h includes. 2021-10-30 10:51:03 +02:00
files.h - use consistent types in FileReader's ReadInt* functions. 2020-08-15 07:33:21 +02:00
files_decompress.cpp - removed templates.h includes. 2021-10-30 10:51:03 +02:00
findfile.cpp - fixed stale pointer access in Unix version of D_AddFile. 2021-02-26 13:28:02 +01:00
findfile.h - backend sync with GZDoom to pull in a few bugfixes and formatting corrections. 2020-05-26 23:12:04 +02:00
floatrect.h - backend update from GZDoom 2020-06-07 15:02:54 +02:00
i_module.cpp - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
i_module.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
i_time.cpp - Allow ticrate to be specified to timer code, while still defaulting to GameTicRate. Move out I_GetBuildTime() from common code to gamefuncs.h as part of this. 2021-08-05 14:52:55 +10:00
i_time.h - Allow ticrate to be specified to timer code, while still defaulting to GameTicRate. Move out I_GetBuildTime() from common code to gamefuncs.h as part of this. 2021-08-05 14:52:55 +10:00
intrect.h - backend sync with GZDoom to pull in a few bugfixes and formatting corrections. 2020-05-26 23:12:04 +02:00
m_alloc.cpp - backend update to make the ZScript compiler work. 2020-06-14 18:58:30 +02:00
m_alloc.h -minor cleanup and backporting of con_pulsetext from Raze. 2020-09-27 16:12:49 +02:00
m_argv.cpp - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
m_argv.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
m_bbox.h - backend sync with GZDoom to pull in a few bugfixes and formatting corrections. 2020-05-26 23:12:04 +02:00
m_fixed.h Revert "- xs_Float.h: Make all inlines return an unsigned value, and change previous unsigned inlines to signed." 2021-11-01 20:25:38 +01:00
m_swap.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
matrix.cpp - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
matrix.h - voxel rendering. 2021-04-02 18:20:07 +02:00
memarena.cpp - backend code matching with GZDoom 2020-04-12 08:30:40 +02:00
memarena.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
name.cpp - renamed the Customizer to 'Delegate' because this works very much like a delegate in Objective-C. 2020-10-07 01:00:43 +02:00
name.h - renamed the Customizer to 'Delegate' because this works very much like a delegate in Objective-C. 2020-10-07 01:00:43 +02:00
palentry.h - use player_struct from JFDuke. 2020-07-06 23:05:48 +02:00
palette.cpp - removed templates.h includes. 2021-10-30 10:51:03 +02:00
palutil.h - changed palette lookup to consider the remapping of color 0 to 255. 2021-08-14 10:26:04 +02:00
parallel_for.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
r_memory.cpp - removed templates.h includes. 2021-10-30 10:51:03 +02:00
r_memory.h - backend sync with GZDoom to pull in a few bugfixes and formatting corrections. 2020-05-26 23:12:04 +02:00
refcounted.h - backend upate from GZDoom 2021-10-30 09:34:38 +02:00
s_playlist.cpp - removed templates.h includes. 2021-10-30 10:51:03 +02:00
s_playlist.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
tarray.h - project contortions to make MSVC print our own deprecations but silence the ones from the compiler. 2021-11-06 16:48:31 +01:00
templates.h - Replace MIN() from templates.h with version provided in STL. 2021-10-30 10:36:15 +02:00
tflags.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
utf8.cpp - removed the multiplayer scoreboard screens. 2021-05-27 13:33:54 +02:00
utf8.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
vectors.h - Backend update from GZDoom. 2021-07-11 09:50:36 +02:00
weightedlist.h - backend sync with GZDoom to pull in a few bugfixes and formatting corrections. 2020-05-26 23:12:04 +02:00
x86.cpp - backend update from GZDoom. 2021-02-12 14:44:54 +01:00
x86.h - backend update from GZDoom. 2021-02-12 14:44:54 +01:00
zstrformat.cpp - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
zstring.cpp - backend update from GZDoom 2021-08-14 10:04:45 +02:00
zstring.h - backend update from GZDoom 2021-08-14 10:04:45 +02:00