Skip to content

Fix warnings in Hash.cpp #175

Fix warnings in Hash.cpp

Fix warnings in Hash.cpp #175

Triggered via pull request May 15, 2024 14:58
Status Success
Total duration 40m 37s
Artifacts

cmake.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

90 warnings
u22_no_features: tests/googletest/googletest/src/gtest-death-test.cc#L1224
‘dummy’ may be used uninitialized [-Wmaybe-uninitialized]
u22_no_features: dds/DCPS/Serializer.h#L902
declaration of ‘value’ shadows a member of ‘OpenDDS::DCPS::KeyOnly<Type>’ [-Wshadow]
u22_no_features: dds/DCPS/Serializer.h#L917
declaration of ‘value’ shadows a member of ‘OpenDDS::DCPS::NestedKeyOnly<Type>’ [-Wshadow]
u22_no_features: dds/DCPS/Serializer.inl#L449
conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
u22_no_features: dds/DCPS/Serializer.inl#L466
conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
u22_no_features: dds/DCPS/Serializer.inl#L824
conversion to ‘long unsigned int’ from ‘ptrdiff_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
u22_no_features: dds/DCPS/Serializer.inl#L841
conversion to ‘long unsigned int’ from ‘ptrdiff_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
u22_no_features: dds/DCPS/Serializer.inl#L871
conversion to ‘long unsigned int’ from ‘ptrdiff_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
u22_no_features: dds/DCPS/Serializer.inl#L879
conversion to ‘long unsigned int’ from ‘ptrdiff_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
u22_no_features: dds/DCPS/Serializer.inl#L893
conversion to ‘long unsigned int’ from ‘ptrdiff_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
u22_stat: tests/googletest/googletest/src/gtest-death-test.cc#L1224
‘dummy’ may be used uninitialized [-Wmaybe-uninitialized]
u22_stat
array subscript ‘CORBA::LongDouble {aka long double}[0]’ is partly outside array bounds of ‘CORBA::ULongLong [1]’ {aka ‘long unsigned int [1]’} [-Warray-bounds]
u22_stat: dds/DCPS/Hash.cpp#L254
cast from type ‘const void*’ to type ‘unsigned char*’ casts away qualifiers [-Wcast-qual]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L22
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L31
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L42
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L48
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L58
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L67
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_stat: dds/DCPS/SafetyProfileStreams.cpp#L81
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: build-target/ace_tao/ace/Stack_Trace.cpp#L52
unused function 'determine_starting_frame' [-Wunused-function]
u22_android29: build-target/ace_tao/ace/Stack_Trace.h#L96
private field 'buflen_' is not used [-Wunused-private-field]
u22_android29
misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
u22_android29
misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
u22_android29: build-target/ace_tao/TAO/TAO_IDL/be/be_codegen.cpp#L3753
implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
u22_android29: dds/DCPS/Serializer.inl#L449
implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
u22_android29: dds/DCPS/Serializer.inl#L466
implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
u22_android29: dds/DCPS/Serializer.inl#L824
implicit conversion changes signedness: 'ptrdiff_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
u22_android29: dds/DCPS/Serializer.inl#L841
implicit conversion changes signedness: 'ptrdiff_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
u22_android29: dds/DCPS/Serializer.inl#L871
implicit conversion changes signedness: 'ptrdiff_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
u22_android29: dds/DCPS/Hash.cpp#L254
cast from type ‘const void*’ to type ‘unsigned char*’ casts away qualifiers [-Wcast-qual]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L22
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L31
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L42
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L48
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L58
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L67
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L81
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L95
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22_android29: dds/DCPS/SafetyProfileStreams.cpp#L124
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: tests/googletest/googletest/src/gtest-death-test.cc#L1224
‘dummy’ may be used uninitialized [-Wmaybe-uninitialized]
u22: dds/DCPS/Hash.cpp#L254
cast from type ‘const void*’ to type ‘unsigned char*’ casts away qualifiers [-Wcast-qual]
u22: dds/DCPS/SafetyProfileStreams.cpp#L22
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L31
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L42
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L48
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L58
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L67
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L81
format not a string literal, argument types not checked [-Wformat-nonliteral]
u22: dds/DCPS/SafetyProfileStreams.cpp#L95
format not a string literal, argument types not checked [-Wformat-nonliteral]
w22_stat: dds/DCPS/XTypes/TypeObject.cpp#L3824
unreachable code [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\DCPS\OpenDDS_Util.vcxproj]
w22_stat: dds/idl/be_global.cpp#L1060
'return': conversion from 'int' to 'OpenDDS::XTypes::MemberId', signed/unsigned mismatch [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/be_produce.cpp#L277
'=': conversion from 'int' to 'char', possible loss of data [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L581
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L662
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L795
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L835
declaration of 'get_length' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L2479
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L2692
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_stat: dds/idl/marshal_generator.cpp#L3521
declaration of 'disc_cls' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/be_global.cpp#L1060
'return': conversion from 'int' to 'OpenDDS::XTypes::MemberId', signed/unsigned mismatch [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/be_produce.cpp#L277
'=': conversion from 'int' to 'char', possible loss of data [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L581
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L662
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L795
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L835
declaration of 'get_length' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L2479
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L2692
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/marshal_generator.cpp#L3521
declaration of 'disc_cls' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel: dds/idl/typeobject_generator.cpp#L980
declaration of 'minimal_ti' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/DCPS/XTypes/TypeObject.cpp#L3824
unreachable code [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\DCPS\OpenDDS_Util.vcxproj]
w22: dds/idl/be_global.cpp#L1060
'return': conversion from 'int' to 'OpenDDS::XTypes::MemberId', signed/unsigned mismatch [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/be_produce.cpp#L277
'=': conversion from 'int' to 'char', possible loss of data [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L581
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L662
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L795
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L835
declaration of 'get_length' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L2479
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L2692
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22: dds/idl/marshal_generator.cpp#L3521
declaration of 'disc_cls' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/be_global.cpp#L1060
'return': conversion from 'int' to 'OpenDDS::XTypes::MemberId', signed/unsigned mismatch [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/be_produce.cpp#L277
'=': conversion from 'int' to 'char', possible loss of data [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L581
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L662
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L795
declaration of 'intro' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L835
declaration of 'get_length' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L2479
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L2692
declaration of 'field_type' hides function parameter [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/marshal_generator.cpp#L3521
declaration of 'disc_cls' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]
w22_rel_stat: dds/idl/typeobject_generator.cpp#L980
declaration of 'minimal_ti' hides previous local declaration [D:\a\OpenDDS\OpenDDS\OpenDDS\build\dds\idl\opendds_idl.vcxproj]