openWeave is a home area network application protocol stack designed to enable asynchronous, symmetric, device-to-device, device-to-mobile and device-to-cloud communications for control path and data path messaging.
Apache License 2.0
232
stars
106
forks
source link
Fix several warnings issued by the more modern compilers #683
Fix class-memaccess warning in src/lib/support/crypto/CTRMode.cpp
and in src/lib/support/crypto/DBRG.cpp by implementing a more robust
constructor
Remove unused local variables in
src/device-manager/WeaveDataManagementClient.cpp
Remove trivial implementations of operator= in
src/inet/IPAddress.{h,cpp} and in src/inet/IPPrefix.{h,cpp} s.t. any
classes containing members of these types remain trivially copyable.
Fix several warnings about comparisons between signed and unsigned integers.
Remove the duplicated enum within the class completely
mirrored/shadowed the enum within the namespace
(DataManagement_Current::Command::CommandFlags)
Replace memset-based initialization with the 0-initialization constructor
Replace the no-arg constuctor for HostPortList with the default one
to preserve trivial copyable nature of WeaveConnection
Properly guard the functions to avoid the unused function warning
Declare proper storage for strings in MockTraitDataSource
Fix signedness of comparisons against Stats::count_t
Fix class-memaccess warning in src/lib/support/crypto/CTRMode.cpp and in src/lib/support/crypto/DBRG.cpp by implementing a more robust constructor
Remove unused local variables in src/device-manager/WeaveDataManagementClient.cpp
Remove trivial implementations of
operator=
in src/inet/IPAddress.{h,cpp} and in src/inet/IPPrefix.{h,cpp} s.t. any classes containing members of these types remain trivially copyable.Fix several warnings about comparisons between signed and unsigned integers.
Remove the duplicated enum within the class completely mirrored/shadowed the enum within the namespace (DataManagement_Current::Command::CommandFlags)
Replace memset-based initialization with the 0-initialization constructor
Replace the no-arg constuctor for HostPortList with the default one to preserve trivial copyable nature of WeaveConnection
Properly guard the functions to avoid the unused function warning
Declare proper storage for strings in MockTraitDataSource
Fix signedness of comparisons against Stats::count_t