godot/core/os
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
..
copymem.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
dir_access.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
dir_access.h Fix x11 exported executables not getting the +x flag 2017-09-17 14:40:58 -03:00
file_access.cpp Extract logging logic 2017-09-25 16:19:21 +07:00
file_access.h Extract logging logic 2017-09-25 16:19:21 +07:00
input_event.cpp Fix InputEventJoypadMotion::action_match for 0 axis values. 2017-10-21 16:06:24 +11:00
input_event.h Increase joystick axis from 8 to 10 2017-11-08 19:56:30 +11:00
input.cpp Input: expose joy_connection_changed() 2017-10-11 18:55:57 +02:00
input.h Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
keyboard.cpp Add Colemak keybindings to editor for osx 2017-10-30 22:51:02 +01:00
keyboard.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
main_loop.cpp Bind MainLoop.notif_wm_go_back_request 2017-10-22 14:07:24 +07:00
main_loop.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
memory.cpp Add placement deletes to avoid warnings on VC++ 2017-11-19 21:25:18 +01:00
memory.h Add placement deletes to avoid warnings on VC++ 2017-11-19 21:25:18 +01:00
mutex.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
mutex.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
os.cpp Make sure to obey hidpi to off by default, as present in project settings. Set it to on by default for editor. 2017-10-05 16:41:42 -03:00
os.h Remove get_default_video_mode definition on OSX/iOS 2017-11-09 23:36:08 +01:00
rw_lock.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
rw_lock.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
semaphore.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
semaphore.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shell.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shell.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
thread_dummy.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
thread_dummy.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
thread_safe.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
thread_safe.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
thread.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
thread.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00