virtualx-engine/core
Rémi Verschelde cdc411fd54 Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more
Fixes the following GCC 5 warnings:
```
core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress]
servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress]

drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith]

modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr]

editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive
modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file

editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed
modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed
scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed
scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed
```
2018-09-27 16:33:52 +02:00
..
bind Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
io Fix warnings for operator precedence disambiguation [-Wparentheses] 2018-09-27 10:29:48 +02:00
math Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
os Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more 2018-09-27 16:33:52 +02:00
allocators.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
array.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
array.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
class_db.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
class_db.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
color.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
color.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
color_names.inc Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
command_queue_mt.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
command_queue_mt.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
compressed_translation.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
compressed_translation.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
core_builders.py Allow system certs file to be used by Editor. 2018-09-15 14:45:54 +02:00
core_string_names.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
core_string_names.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
cowdata.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dictionary.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dictionary.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dvector.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dvector.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
engine.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
engine.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
error_list.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
error_macros.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
error_macros.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
func_ref.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
func_ref.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
global_constants.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
global_constants.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
hash_map.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
hashfuncs.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
image.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
image.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
input_map.cpp Merge pull request #21954 from isaacremnant/fix_inputs 2018-09-14 18:06:11 +02:00
input_map.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
int_types.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
list.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
make_binders.py fix windows build using python 3.7 2018-07-28 18:13:48 +02:00
map.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
message_queue.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
message_queue.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
method_bind.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
method_bind.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
method_ptrcall.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
node_path.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
node_path.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
oa_hash_map.h Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
object.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
object.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ordered_hash_map.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
packed_data_container.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
packed_data_container.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
pair.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
path_remap.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
path_remap.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pool_allocator.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
pool_allocator.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
print_string.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
print_string.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
project_settings.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
project_settings.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ref_ptr.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ref_ptr.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
reference.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
reference.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_core_types.cpp Unify StreamPeerTCP/TCP_Server with NetSocket API 2018-09-12 15:56:20 +02:00
register_core_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
resource.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
resource.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
rid.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rid.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ring_buffer.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
safe_refcount.cpp reduce clang warning spam 2018-07-24 12:13:05 +02:00
safe_refcount.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_debugger_local.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_debugger_local.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_debugger_remote.cpp Fixed error spam in remote debugger 2018-09-19 11:32:11 +02:00
script_debugger_remote.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_language.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_language.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
SCsub Fixed scons warning: Ignoring missing 'core/helper/SCsub' after #22351. 2018-09-23 21:45:35 +06:00
self_list.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
set.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
simple_type.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sort.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
string_buffer.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
string_builder.cpp fixed crash with StringBuilder 2018-01-20 15:26:58 +01:00
string_builder.h Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
string_db.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
string_db.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
translation.cpp Fallback to "en" when invalid locale is requested 2018-09-23 13:58:01 +02:00
translation.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
type_info.h State machine animation node 2018-06-25 16:22:41 -03:00
typedefs.h Fix warnings for operator precedence disambiguation [-Wparentheses] 2018-09-27 10:29:48 +02:00
ucaps.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
undo_redo.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
undo_redo.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ustring.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ustring.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
variant.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
variant.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
variant_call.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
variant_construct_string.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
variant_op.cpp Color: Fix rounding error converting from float to 8-bit 2018-09-18 17:11:15 +02:00
variant_parser.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
variant_parser.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
vector.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
version.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
vmap.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
vset.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00