e5bbcb8bcf
Also turn off -Wsign-compare warnings in the future, we do not consider them important.
Fixes the following GCC 5 warnings:
```
core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/sprite_editor_plugin.cpp💯20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
The following warnings were not fixed, as they implied casting for no gain:
```
core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
|
||
---|---|---|
.. | ||
abstract_polygon_2d_editor.cpp | ||
abstract_polygon_2d_editor.h | ||
animation_blend_space_1d_editor.cpp | ||
animation_blend_space_1d_editor.h | ||
animation_blend_space_2d_editor.cpp | ||
animation_blend_space_2d_editor.h | ||
animation_blend_tree_editor_plugin.cpp | ||
animation_blend_tree_editor_plugin.h | ||
animation_player_editor_plugin.cpp | ||
animation_player_editor_plugin.h | ||
animation_state_machine_editor.cpp | ||
animation_state_machine_editor.h | ||
animation_tree_editor_plugin.cpp | ||
animation_tree_editor_plugin.h | ||
animation_tree_player_editor_plugin.cpp | ||
animation_tree_player_editor_plugin.h | ||
asset_library_editor_plugin.cpp | ||
asset_library_editor_plugin.h | ||
audio_stream_editor_plugin.cpp | ||
audio_stream_editor_plugin.h | ||
baked_lightmap_editor_plugin.cpp | ||
baked_lightmap_editor_plugin.h | ||
camera_editor_plugin.cpp | ||
camera_editor_plugin.h | ||
canvas_item_editor_plugin.cpp | ||
canvas_item_editor_plugin.h | ||
collision_polygon_2d_editor_plugin.cpp | ||
collision_polygon_2d_editor_plugin.h | ||
collision_polygon_editor_plugin.cpp | ||
collision_polygon_editor_plugin.h | ||
collision_shape_2d_editor_plugin.cpp | ||
collision_shape_2d_editor_plugin.h | ||
cpu_particles_editor_plugin.cpp | ||
cpu_particles_editor_plugin.h | ||
curve_editor_plugin.cpp | ||
curve_editor_plugin.h | ||
editor_preview_plugins.cpp | ||
editor_preview_plugins.h | ||
gi_probe_editor_plugin.cpp | ||
gi_probe_editor_plugin.h | ||
gradient_editor_plugin.cpp | ||
gradient_editor_plugin.h | ||
item_list_editor_plugin.cpp | ||
item_list_editor_plugin.h | ||
light_occluder_2d_editor_plugin.cpp | ||
light_occluder_2d_editor_plugin.h | ||
line_2d_editor_plugin.cpp | ||
line_2d_editor_plugin.h | ||
material_editor_plugin.cpp | ||
material_editor_plugin.h | ||
mesh_editor_plugin.cpp | ||
mesh_editor_plugin.h | ||
mesh_instance_editor_plugin.cpp | ||
mesh_instance_editor_plugin.h | ||
mesh_library_editor_plugin.cpp | ||
mesh_library_editor_plugin.h | ||
multimesh_editor_plugin.cpp | ||
multimesh_editor_plugin.h | ||
navigation_polygon_editor_plugin.cpp | ||
navigation_polygon_editor_plugin.h | ||
particles_2d_editor_plugin.cpp | ||
particles_2d_editor_plugin.h | ||
particles_editor_plugin.cpp | ||
particles_editor_plugin.h | ||
path_2d_editor_plugin.cpp | ||
path_2d_editor_plugin.h | ||
path_editor_plugin.cpp | ||
path_editor_plugin.h | ||
physical_bone_plugin.cpp | ||
physical_bone_plugin.h | ||
polygon_2d_editor_plugin.cpp | ||
polygon_2d_editor_plugin.h | ||
resource_preloader_editor_plugin.cpp | ||
resource_preloader_editor_plugin.h | ||
root_motion_editor_plugin.cpp | ||
root_motion_editor_plugin.h | ||
script_editor_plugin.cpp | ||
script_editor_plugin.h | ||
script_text_editor.cpp | ||
script_text_editor.h | ||
SCsub | ||
shader_editor_plugin.cpp | ||
shader_editor_plugin.h | ||
skeleton_2d_editor_plugin.cpp | ||
skeleton_2d_editor_plugin.h | ||
skeleton_editor_plugin.cpp | ||
skeleton_editor_plugin.h | ||
skeleton_ik_editor_plugin.cpp | ||
skeleton_ik_editor_plugin.h | ||
spatial_editor_plugin.cpp | ||
spatial_editor_plugin.h | ||
sprite_editor_plugin.cpp | ||
sprite_editor_plugin.h | ||
sprite_frames_editor_plugin.cpp | ||
sprite_frames_editor_plugin.h | ||
style_box_editor_plugin.cpp | ||
style_box_editor_plugin.h | ||
text_editor.cpp | ||
text_editor.h | ||
texture_editor_plugin.cpp | ||
texture_editor_plugin.h | ||
texture_region_editor_plugin.cpp | ||
texture_region_editor_plugin.h | ||
theme_editor_plugin.cpp | ||
theme_editor_plugin.h | ||
tile_map_editor_plugin.cpp | ||
tile_map_editor_plugin.h | ||
tile_set_editor_plugin.cpp | ||
tile_set_editor_plugin.h | ||
visual_shader_editor_plugin.cpp | ||
visual_shader_editor_plugin.h |