diff options
author | Matthias Hoelzl <tc@xantira.com> | 2017-11-18 08:46:53 +0100 |
---|---|---|
committer | Matthias Hoelzl <tc@xantira.com> | 2017-11-19 21:25:18 +0100 |
commit | 4c76c6892c1770f4e8f95bd8a4d8dcddf31d96d4 (patch) | |
tree | e9c0d3fabf688ce7a95241a9b45d8dfaa2ed2910 /doc | |
parent | 63283eca5542314ea5b71afa1fe39bd48c202a4d (diff) |
Add placement deletes to avoid warnings on VC++
When compiling with VC++ 2017, Godot generates huge numbers of
C4291 warnings about missing placement delete.
I have not found a way to disable these warnings using compiler
options: AFAICT there is no equivalent to `-f-no-exceptions` for
VC++ (there is only /EH to change the exception-handling model,
/GX is deprecated) and adding /wd4291 to the
`disable_nonessential_warnings` list in the `SConstruct` file
or even compiling with `warnings=no` does not disable the
messages.
Placement delete is only called when placement new throws an
exception, since Godot doesn't use exceptions this change should
have no runtime effect.
Fixes #12654 (probably, difficult to say without log)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions