virtualx-engine/modules/gdscript
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
..
doc_classes Add support for tutorial links to makerst.py 2018-06-12 17:40:24 +02:00
editor Fixed scientific notaion not highlighting correctly, issue 21435 2018-09-08 13:42:11 +01:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript.cpp GDScript: Revert extra deletion when creating instance 2018-09-19 11:17:47 -03:00
gdscript.h Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more 2018-09-27 16:33:52 +02:00
gdscript_compiler.cpp GDScript: Fix stack address test in compiler 2018-09-19 11:17:45 -03:00
gdscript_compiler.h Use type information to enable GDScript introspection 2018-07-20 21:55:17 -03:00
gdscript_editor.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
gdscript_function.cpp Fix invalid comparison warnings: [-Wbool-compare] and [-Wenum-compare] 2018-09-27 16:25:24 +02:00
gdscript_function.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
gdscript_functions.cpp Fixed argument names being swapped for atan2 2018-09-16 21:27:54 +02:00
gdscript_functions.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
gdscript_parser.cpp Fix invalid comparison warnings: [-Wbool-compare] and [-Wenum-compare] 2018-09-27 16:25:24 +02:00
gdscript_parser.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
gdscript_tokenizer.cpp Rename slave keyword to puppet 2018-09-15 00:06:03 +02:00
gdscript_tokenizer.h Rename slave keyword to puppet 2018-09-15 00:06:03 +02:00
register_types.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub Exclude GDScriptSyntaxHighlighter from non-tool builds 2018-04-20 20:45:57 +01:00