diff options
| author | Pedro J. Estébanez | 2017-05-26 22:22:13 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez | 2017-05-27 02:31:05 +0200 |
| commit | 49669c9b428465298213a0902818149a6facffa6 (patch) | |
| tree | c4528a39c648120d206a5cb84e6f10bb41fd17a9 /drivers/unix/memory_pool_static_malloc.cpp | |
| parent | 99f65fcb4f8d8a679789dd19a98321afadd90d07 (diff) | |
| download | godot-49669c9b428465298213a0902818149a6facffa6.tar.gz godot-49669c9b428465298213a0902818149a6facffa6.tar.zst godot-49669c9b428465298213a0902818149a6facffa6.zip | |
Rework warning levels
Now you have: extra, all (the default), moderate, no.
The old 'yes' option is still supported, but a warning will be printed and 'all' will be assumed.
The different options will translate to the following:
MSVC:
extra -> /Wall (implies /W4)
all -> /W3 + disable non-essential (*)
moderate -> /W2 + disable non-essential (*)
no -> /w
GCC/Clang:
extra -> -Wall -Wextra
all -> -Wall
moderate -> -Wall -Wno-unused
no -> -w
* = Truncations, narrowing conversions...: /wd4267 /wd4244 /wd4305 /wd4800
Diffstat (limited to 'drivers/unix/memory_pool_static_malloc.cpp')
0 files changed, 0 insertions, 0 deletions
