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]
```
|
||
---|---|---|
.. | ||
default_theme | ||
animation.cpp | ||
animation.h | ||
audio_stream_sample.cpp | ||
audio_stream_sample.h | ||
bit_mask.cpp | ||
bit_mask.h | ||
bounds.cpp | ||
bounds.h | ||
box_shape.cpp | ||
box_shape.h | ||
canvas.cpp | ||
canvas.h | ||
capsule_shape_2d.cpp | ||
capsule_shape_2d.h | ||
capsule_shape.cpp | ||
capsule_shape.h | ||
circle_shape_2d.cpp | ||
circle_shape_2d.h | ||
color_ramp.cpp | ||
color_ramp.h | ||
concave_polygon_shape_2d.cpp | ||
concave_polygon_shape_2d.h | ||
concave_polygon_shape.cpp | ||
concave_polygon_shape.h | ||
convex_polygon_shape_2d.cpp | ||
convex_polygon_shape_2d.h | ||
convex_polygon_shape.cpp | ||
convex_polygon_shape.h | ||
curve.cpp | ||
curve.h | ||
cylinder_shape.cpp | ||
cylinder_shape.h | ||
dynamic_font_stb.cpp | ||
dynamic_font_stb.h | ||
dynamic_font.cpp | ||
dynamic_font.h | ||
environment.cpp | ||
environment.h | ||
font.cpp | ||
font.h | ||
material.cpp | ||
material.h | ||
mesh_data_tool.cpp | ||
mesh_data_tool.h | ||
mesh_library.cpp | ||
mesh_library.h | ||
mesh.cpp | ||
mesh.h | ||
multimesh.cpp | ||
multimesh.h | ||
packed_scene.cpp | ||
packed_scene.h | ||
particles_material.cpp | ||
particles_material.h | ||
physics_material.cpp | ||
physics_material.h | ||
plane_shape.cpp | ||
plane_shape.h | ||
polygon_path_finder.cpp | ||
polygon_path_finder.h | ||
primitive_meshes.cpp | ||
primitive_meshes.h | ||
ray_shape.cpp | ||
ray_shape.h | ||
rectangle_shape_2d.cpp | ||
rectangle_shape_2d.h | ||
room.cpp | ||
room.h | ||
scene_format_text.cpp | ||
scene_format_text.h | ||
SCsub | ||
segment_shape_2d.cpp | ||
segment_shape_2d.h | ||
shader.cpp | ||
shader.h | ||
shape_2d.cpp | ||
shape_2d.h | ||
shape_line_2d.cpp | ||
shape_line_2d.h | ||
shape.cpp | ||
shape.h | ||
sky_box.cpp | ||
sky_box.h | ||
space_2d.cpp | ||
space_2d.h | ||
sphere_shape.cpp | ||
sphere_shape.h | ||
style_box.cpp | ||
style_box.h | ||
surface_tool.cpp | ||
surface_tool.h | ||
text_file.cpp | ||
text_file.h | ||
texture.cpp | ||
texture.h | ||
theme.cpp | ||
theme.h | ||
tile_set.cpp | ||
tile_set.h | ||
video_stream.cpp | ||
video_stream.h | ||
visual_shader_nodes.cpp | ||
visual_shader_nodes.h | ||
visual_shader.cpp | ||
visual_shader.h | ||
world_2d.cpp | ||
world_2d.h | ||
world.cpp | ||
world.h |