Matthias Hoelzl
4c76c6892c
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)
2017-11-19 21:25:18 +01:00
..
2017-11-14 15:15:13 +01:00
2017-11-17 11:01:41 -05:00
2017-11-17 11:01:41 -05:00
2017-11-17 11:01:41 -05:00
2017-11-19 21:25:18 +01:00
2017-08-27 14:16:55 +02:00
2017-10-09 16:36:09 +02:00
2017-10-09 16:36:09 +02:00
2017-10-20 00:24:49 +02:00
2017-10-20 00:24:49 +02:00
2017-01-15 12:51:47 +01:00
2017-09-19 23:33:25 +02:00
2017-09-16 13:09:49 -04:00
2017-08-27 14:16:55 +02:00
2017-10-22 13:52:48 -03:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-23 21:05:35 -03:00
2017-09-23 21:05:35 -03:00
2017-11-09 16:27:27 +01:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-11-14 16:15:00 +01:00
2017-11-14 15:15:13 +01:00
2017-09-21 23:58:29 -04:00
2017-10-22 12:17:41 -03:00
2017-10-22 12:17:41 -03:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-09-19 16:48:53 +02:00
2017-09-19 16:48:53 +02:00
2017-10-21 20:41:07 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-05 12:45:23 +07:00
2017-10-20 00:24:49 +02:00
2017-10-24 15:59:54 +01:00
2017-08-27 22:13:45 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-09-02 21:19:06 +07:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-19 16:48:53 +02:00
2017-09-21 23:58:29 -04:00
2017-09-21 23:58:29 -04:00
2017-11-04 14:08:21 +01:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-09-01 13:09:30 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-01 08:13:12 +02:00
2017-08-27 14:16:55 +02:00
2017-11-16 21:56:57 -02:00
2017-11-16 21:56:57 -02:00
2017-11-14 15:15:13 +01:00
2017-11-14 15:15:13 +01:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-14 19:40:36 +07:00
2017-09-14 19:40:36 +07:00
2017-11-14 15:15:13 +01:00
2017-08-27 14:16:55 +02:00
2017-09-06 04:43:07 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-27 00:01:02 +02:00
2017-09-27 00:01:02 +02:00
2017-09-30 16:19:07 +02:00
2017-09-30 16:19:07 +02:00
2017-11-16 21:56:57 -02:00
2017-11-16 21:56:57 -02:00
2017-10-25 20:11:30 +02:00
2017-10-25 20:11:30 +02:00
2017-09-25 14:36:30 -04:00
2017-08-27 14:16:55 +02:00
2017-10-24 15:59:54 +01:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-05 11:04:11 +07:00
2017-09-05 11:04:11 +07:00
2017-09-01 19:52:32 +02:00
2017-09-01 19:52:32 +02:00
2017-08-27 14:16:55 +02:00
2017-10-08 16:47:10 +02:00
2017-11-07 21:57:43 +01:00
2017-10-30 00:02:55 +01:00
2017-11-17 11:01:41 -05:00
2017-10-22 12:17:41 -03:00
2017-08-27 14:16:55 +02:00
2017-09-13 12:18:51 +08:00
2017-08-27 14:16:55 +02:00
2017-11-14 14:32:37 -06:00
2017-11-01 07:20:20 +08:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-11-17 11:01:41 -05:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-11-17 11:01:41 -05:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-11-01 23:13:27 -03:00
2017-09-02 01:59:26 +02:00
2017-09-02 01:59:26 +02:00