godot/core
Grigoris Pavlakis abef2b7194 Fix placement new on zero-sized region warning on GCC 11.1
On latest (11.1 as of this commit) GCC, the following warning is
continuously issued during build:
warning: placement new constructing an object of type
'SafeNumeric<unsigned int>' and size '4' in a region of type
'uint32_t*' {aka 'unsigned int*'} and size '0' [-Wplacement-new=]

This happens because on 98ceb60eb4 the new operator override used
was dropped and replaced with standard placement new. GCC sees the
subtraction from the pointer and complains as it thinks that the
SafeNumeric is placed outside an allocation, not knowing that the
address requested is already inside one.

After suggestions, the false positive is silenced, with no other
changes.
2021-09-15 00:07:21 +03:00
..
config Use OrderedHashMap for autoloads to preserve order 2021-08-26 21:55:26 -07:00
crypto [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-03 16:12:55 +02:00
debugger Use doubles for time in many other places 2021-08-09 14:05:42 -05:00
error Improve error descriptions 2021-08-23 17:58:24 +02:00
extension Add functions for access members by index on packed array objects 2021-09-02 09:41:35 +10:00
input Merge pull request #50375 from Paulb23/code_edit_unit_tests 2021-09-13 21:51:20 +02:00
io [Net] Move multiplayer to core subdir, split RPCManager. 2021-09-07 11:14:30 +02:00
math Revert some URLs from the "Replace HTTP URLs with HTTPS" PR 2021-09-13 15:18:35 -05:00
multiplayer Multiplayer networking renames/simplification 2021-09-08 12:05:54 +02:00
object Merge pull request #52442 from Faless/mp/4.x_rpc_manager 2021-09-07 18:44:39 +02:00
os Make platform feature tag names lowercase 2021-08-31 20:34:44 +02:00
string Merge pull request #52049 from theraot/master 2021-09-13 16:49:24 +02:00
templates Fix placement new on zero-sized region warning on GCC 11.1 2021-09-15 00:07:21 +03:00
variant Added explicit type conversions 2021-09-13 14:26:47 +00:00
core_bind.cpp Rename String::is_rel_path to String::is_relative_path 2021-08-29 20:41:29 -04:00
core_bind.h Add ability to register singletons from engine API 2021-08-25 08:32:25 -03:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp Merge pull request #52442 from Faless/mp/4.x_rpc_manager 2021-09-07 18:44:39 +02:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Removed _change_notify 2021-02-10 19:31:24 -03:00
core_string_names.h Removed _change_notify 2021-02-10 19:31:24 -03:00
doc_data.cpp Implement NativeExtension pointer arguments 2021-08-23 19:58:40 -03:00
doc_data.h Implement error return documetation 2021-08-24 15:28:29 -03:00
register_core_types.cpp [Net] Move multiplayer to core subdir, split RPCManager. 2021-09-07 11:14:30 +02:00
register_core_types.h Implement native extension system 2021-06-25 17:32:45 -03:00
SCsub [Net] Move multiplayer to core subdir, split RPCManager. 2021-09-07 11:14:30 +02:00
typedefs.h Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00