godot/core
Rémi Verschelde 2091f20443 Fix warnings about wrong member initialization order [-Wreorder]
Fixes the following GCC 5 warnings:
```
core/object.h:193:11: warning: 'MethodInfo::flags' will be initialized after [-Wreorder]
core/object.h:192:15: warning:   'PropertyInfo MethodInfo::return_val' [-Wreorder]
core/object.cpp:278:1: warning:   when initialized here [-Wreorder]
core/script_debugger_remote.h:97:6: warning: 'ScriptDebuggerRemote::max_cps' will be initialized after [-Wreorder]
core/script_debugger_remote.h:91:6: warning:   'int ScriptDebuggerRemote::max_messages_per_frame' [-Wreorder]
core/script_debugger_remote.cpp:1086:1: warning:   when initialized here [-Wreorder]
core/script_debugger_remote.h:98:6: warning: 'ScriptDebuggerRemote::char_count' will be initialized after [-Wreorder]
core/script_debugger_remote.h:92:6: warning:   'int ScriptDebuggerRemote::n_messages_dropped' [-Wreorder]
core/script_debugger_remote.cpp:1086:1: warning:   when initialized here [-Wreorder]
modules/bullet/area_bullet.h:102:7: warning: 'AreaBullet::isScratched' will be initialized after [-Wreorder]
modules/bullet/area_bullet.h:92:39: warning:   'PhysicsServer::AreaSpaceOverrideMode AreaBullet::spOv_mode' [-Wreorder]
modules/bullet/area_bullet.cpp:46:1: warning:   when initialized here [-Wreorder]
modules/bullet/collision_object_bullet.h:127:15: warning: 'CollisionObjectBullet::space' will be initialized after [-Wreorder]
modules/bullet/collision_object_bullet.h:117:7: warning:   'CollisionObjectBullet::Type CollisionObjectBullet::type' [-Wreorder]
modules/bullet/collision_object_bullet.cpp:67:1: warning:   when initialized here [-Wreorder]
modules/bullet/godot_ray_world_algorithm.h:48:7: warning: 'GodotRayWorldAlgorithm::m_ownManifol1d' will be initialized after [-Wreorder]
modules/bullet/godot_ray_world_algorithm.h:46:33: warning:   'const btDiscreteDynamicsWorld* GodotRayWorldAlgorithm::m_world' [-Wreorder]
modules/bullet/godot_ray_world_algorithm.cpp:50:1: warning:   when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:91:18: warning: 'GodotAllConvexResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:89:6: warning:   'int GodotAllConvexResultCallback::m_resultMax' [-Wreorder]
modules/bullet/godot_result_callbacks.h:93:2: warning:   when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:142:18: warning: 'GodotAllContactResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:140:6: warning:   'int GodotAllContactResultCallback::m_resultMax' [-Wreorder]
modules/bullet/godot_result_callbacks.h:147:2: warning:   when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:168:18: warning: 'GodotContactPairContactResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:166:6: warning:   'int GodotContactPairContactResultCallback::m_resultMax' [-Wreorder]
modules/bullet/godot_result_callbacks.h:173:2: warning:   when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:195:18: warning: 'GodotRestInfoContactResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:191:7: warning:   'bool GodotRestInfoContactResultCallback::m_collided' [-Wreorder]
modules/bullet/godot_result_callbacks.h:199:2: warning:   when initialized here [-Wreorder]
modules/bullet/rigid_body_bullet.h:200:9: warning: 'RigidBodyBullet::gravity_scale' will be initialized after [-Wreorder]
modules/bullet/rigid_body_bullet.h:199:9: warning:   'real_t RigidBodyBullet::mass' [-Wreorder]
modules/bullet/rigid_body_bullet.cpp:258:1: warning:   when initialized here [-Wreorder]
modules/bullet/rigid_body_bullet.h:222:28: warning: 'RigidBodyBullet::force_integration_callback' will be initialized after [-Wreorder]
modules/bullet/rigid_body_bullet.h:219:7: warning:   'bool RigidBodyBullet::isTransformChanged' [-Wreorder]
modules/bullet/rigid_body_bullet.cpp:258:1: warning:   when initialized here [-Wreorder]
modules/bullet/rigid_body_bullet.h:220:7: warning: 'RigidBodyBullet::previousActiveState' will be initialized after [-Wreorder]
modules/bullet/rigid_body_bullet.h:208:6: warning:   'int RigidBodyBullet::maxCollisionsDetection' [-Wreorder]
modules/bullet/rigid_body_bullet.cpp:258:1: warning:   when initialized here [-Wreorder]
modules/bullet/soft_body_bullet.h:69:9: warning: 'SoftBodyBullet::total_mass' will be initialized after [-Wreorder]
modules/bullet/soft_body_bullet.h:68:6: warning:   'int SoftBodyBullet::simulation_precision' [-Wreorder]
modules/bullet/soft_body_bullet.cpp:38:1: warning:   when initialized here [-Wreorder]
modules/bullet/soft_body_bullet.h:76:9: warning: 'SoftBodyBullet::drag_coefficient' will be initialized after [-Wreorder]
modules/bullet/soft_body_bullet.h:61:14: warning:   'btSoftBody* SoftBodyBullet::bt_soft_body' [-Wreorder]
modules/bullet/soft_body_bullet.cpp:38:1: warning:   when initialized here [-Wreorder]
modules/bullet/space_bullet.h:97:22: warning: 'SpaceBullet::solver' will be initialized after [-Wreorder]
modules/bullet/space_bullet.h:95:35: warning:   'btDefaultCollisionConfiguration* SpaceBullet::collisionConfiguration' [-Wreorder]
modules/bullet/space_bullet.cpp:333:1: warning:   when initialized here [-Wreorder]
modules/bullet/space_bullet.h:101:23: warning: 'SpaceBullet::soft_body_world_info' will be initialized after [-Wreorder]
modules/bullet/space_bullet.h:99:23: warning:   'btGhostPairCallback* SpaceBullet::ghostPairCallback' [-Wreorder]
modules/bullet/space_bullet.cpp:333:1: warning:   when initialized here [-Wreorder]
modules/gdnative/nativescript/nativescript.h:79:13: warning: 'NativeScriptDesc::base_native_type' will be initialized after [-Wreorder]
modules/gdnative/nativescript/nativescript.h:73:9: warning:   'String NativeScriptDesc::documentation' [-Wreorder]
modules/gdnative/nativescript/nativescript.h:88:9: warning:   when initialized here [-Wreorder]
modules/gdscript/gdscript.h:296:6: warning: 'GDScriptWarning::line' will be initialized after [-Wreorder]
modules/gdscript/gdscript.h:294:4: warning:   'GDScriptWarning::Code GDScriptWarning::code' [-Wreorder]
modules/gdscript/gdscript.h:303:2: warning:   when initialized here [-Wreorder]
scene/3d/physics_body.h:544:7: warning: 'PhysicalBone::simulate_physics' will be initialized after [-Wreorder]
scene/3d/physics_body.h:543:7: warning:   'bool PhysicalBone::_internal_static_body' [-Wreorder]
scene/3d/physics_body.cpp:2502:1: warning:   when initialized here [-Wreorder]
scene/3d/physics_body.h:546:6: warning: 'PhysicalBone::bone_id' will be initialized after [-Wreorder]
scene/3d/physics_body.h:539:12: warning:   'Skeleton* PhysicalBone::parent_skeleton' [-Wreorder]
scene/3d/physics_body.cpp:2502:1: warning:   when initialized here [-Wreorder]
scene/3d/spring_arm.h:44:11: warning: 'SpringArm::mask' will be initialized after [-Wreorder]
scene/3d/spring_arm.h:43:8: warning:   'float SpringArm::current_spring_length' [-Wreorder]
scene/3d/spring_arm.cpp:37:1: warning:   when initialized here [-Wreorder]
scene/animation/skeleton_ik.h:159:11: warning: 'SkeletonIK::target_node_override' will be initialized after [-Wreorder]
scene/animation/skeleton_ik.h:152:7: warning:   'bool SkeletonIK::use_magnet' [-Wreorder]
scene/animation/skeleton_ik.cpp:418:1: warning:   when initialized here [-Wreorder]
scene/resources/tile_set.h:84:9: warning: 'TileSet::AutotileData::size' will be initialized after [-Wreorder]
scene/resources/tile_set.h:83:7: warning:   'int TileSet::AutotileData::spacing' [-Wreorder]
scene/resources/tile_set.h:92:12: warning:   when initialized here [-Wreorder]
scene/resources/tile_set.h:115:12: warning: 'TileSet::TileData::tile_mode' will be initialized after [-Wreorder]
scene/resources/tile_set.h:114:9: warning:   'Color TileSet::TileData::modulate' [-Wreorder]
scene/resources/tile_set.h:120:12: warning:   when initialized here [-Wreorder]
servers/physics/body_sw.h:84:19: warning: 'BodySW::direct_state_query_list' will be initialized after [-Wreorder]
servers/physics/body_sw.h:57:11: warning:   'uint16_t BodySW::locked_axis' [-Wreorder]
servers/physics/body_sw.cpp:756:1: warning:   when initialized here [-Wreorder]
```

Nothing really relevant for us, but it's not a bad consistency
improvement anyway so worth taking.
2018-09-28 17:30:28 +02:00
..
bind SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00
io SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00
math SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00
os SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +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 Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +02:00
object.h Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +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 Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +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
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