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]
```
|
||
---|---|---|
.. | ||
bind | ||
io | ||
math | ||
os | ||
allocators.h | ||
array.cpp | ||
array.h | ||
class_db.cpp | ||
class_db.h | ||
color.cpp | ||
color.h | ||
color_names.inc | ||
command_queue_mt.cpp | ||
command_queue_mt.h | ||
compressed_translation.cpp | ||
compressed_translation.h | ||
core_builders.py | ||
core_string_names.cpp | ||
core_string_names.h | ||
cowdata.h | ||
dictionary.cpp | ||
dictionary.h | ||
dvector.cpp | ||
dvector.h | ||
engine.cpp | ||
engine.h | ||
error_list.h | ||
error_macros.cpp | ||
error_macros.h | ||
func_ref.cpp | ||
func_ref.h | ||
global_constants.cpp | ||
global_constants.h | ||
hash_map.h | ||
hashfuncs.h | ||
image.cpp | ||
image.h | ||
input_map.cpp | ||
input_map.h | ||
int_types.h | ||
list.h | ||
make_binders.py | ||
map.h | ||
message_queue.cpp | ||
message_queue.h | ||
method_bind.cpp | ||
method_bind.h | ||
method_ptrcall.h | ||
node_path.cpp | ||
node_path.h | ||
oa_hash_map.h | ||
object.cpp | ||
object.h | ||
ordered_hash_map.h | ||
packed_data_container.cpp | ||
packed_data_container.h | ||
pair.h | ||
path_remap.cpp | ||
path_remap.h | ||
pool_allocator.cpp | ||
pool_allocator.h | ||
print_string.cpp | ||
print_string.h | ||
project_settings.cpp | ||
project_settings.h | ||
ref_ptr.cpp | ||
ref_ptr.h | ||
reference.cpp | ||
reference.h | ||
register_core_types.cpp | ||
register_core_types.h | ||
resource.cpp | ||
resource.h | ||
rid.cpp | ||
rid.h | ||
ring_buffer.h | ||
safe_refcount.cpp | ||
safe_refcount.h | ||
script_debugger_local.cpp | ||
script_debugger_local.h | ||
script_debugger_remote.cpp | ||
script_debugger_remote.h | ||
script_language.cpp | ||
script_language.h | ||
SCsub | ||
self_list.h | ||
set.h | ||
simple_type.h | ||
sort.h | ||
string_buffer.h | ||
string_builder.cpp | ||
string_builder.h | ||
string_db.cpp | ||
string_db.h | ||
translation.cpp | ||
translation.h | ||
type_info.h | ||
typedefs.h | ||
ucaps.h | ||
undo_redo.cpp | ||
undo_redo.h | ||
ustring.cpp | ||
ustring.h | ||
variant.cpp | ||
variant.h | ||
variant_call.cpp | ||
variant_construct_string.cpp | ||
variant_op.cpp | ||
variant_parser.cpp | ||
variant_parser.h | ||
vector.h | ||
version.h | ||
vmap.h | ||
vset.h |