diff options
| author | Stefan Boberg <[email protected]> | 2021-10-19 22:34:35 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-19 22:34:35 +0200 |
| commit | 7a672b538d0e4115e943a641cdde278277810850 (patch) | |
| tree | 139531155a41658556345db46ea08f9079626118 /zencore/include | |
| parent | gc: Made ref tracking optional on `ZEN_USE_REF_TRACKING` (diff) | |
| download | zen-7a672b538d0e4115e943a641cdde278277810850.tar.xz zen-7a672b538d0e4115e943a641cdde278277810850.zip | |
core: Enable warning C4668 again (unsure why it went missing)
This helps catch bad preprocessor conditionals which can lead to ODR violations and other problems
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/zencore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h index d654770d0..3367b39ef 100644 --- a/zencore/include/zencore/zencore.h +++ b/zencore/include/zencore/zencore.h @@ -62,6 +62,7 @@ #if ZEN_COMPILER_MSC # pragma warning(disable : 4324) // warning C4324: '<type>': structure was padded due to alignment specifier +# pragma warning(default : 4668) // warning C4668: 'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives' #endif #ifndef ZEN_THIRD_PARTY_INCLUDES_START |