7.0.0 - GCC6 - maybe some of them are only visible if you biuld with LTO but in any case worth a look

../../iocore/utils/I_Machine.h:51:8: warning: type 'struct Machine' violates the C++ One Definition Rule [-Wodr] UglyLogStubs.cc:68:8: note: a different type is defined in another translation unit ../../iocore/utils/I_Machine.h:54:9: note: the first difference of corresponding definitions is field 'hostname' UglyLogStubs.cc:68:8: note: a type with different number of fields is defined in another translation unit ../../iocore/utils/I_Machine.h:81:16: warning: type of 'instance' does not match original declaration [-Wlto-type-mismatch]
UglyLogStubs.cc:72:1: note: 'instance' was previously declared here
UglyLogStubs.cc:72:1: note: code may be misoptimized unless -fno-strict-aliasing is used ../../iocore/utils/I_Machine.h:51:8: warning: type 'struct Machine' violates the C++ One Definition Rule [-Wodr] UglyLogStubs.cc:68:8: note: a different type is defined in another translation unit ../../iocore/utils/I_Machine.h:54:9: note: the first difference of corresponding definitions is field 'hostname' UglyLogStubs.cc:68:8: note: a type with different number of fields is defined in another translation unit ../../iocore/utils/I_Machine.h:81:16: warning: type of 'instance' does not match original declaration [-Wlto-type-mismatch]
UglyLogStubs.cc:72:1: note: 'instance' was previously declared here
UglyLogStubs.cc:72:1: note: code may be misoptimized unless -fno-strict-aliasing is used ClusterHandlerBase.cc:35:17: warning: type of 'cluster_packet_tos' does not match original declaration [-Wlto-type-mismatch] ClusterProcessor.cc:377:15: note: type 'long unsigned int' should match type 'uint32_t'
/usr/include/stdint.h:51:23: note: the incompatible type is defined here
 typedef unsigned int  uint32_t;
                       ^
ClusterProcessor.cc:377:15: note: 'cluster_packet_tos' was previously declared here ClusterProcessor.cc:377:15: note: code may be misoptimized unless -fno-strict-aliasing is used ClusterHandlerBase.cc:34:17: warning: type of 'cluster_packet_mark' does not match original declaration [-Wlto-type-mismatch] ClusterProcessor.cc:376:15: note: type 'long unsigned int' should match type 'uint32_t'
/usr/include/stdint.h:51:23: note: the incompatible type is defined here
 typedef unsigned int  uint32_t;
                       ^
ClusterProcessor.cc:376:15: note: 'cluster_packet_mark' was previously declared here ClusterProcessor.cc:376:15: note: code may be misoptimized unless -fno-strict-aliasing is used ClusterHandlerBase.cc:33:17: warning: type of 'cluster_sockopt_flags' does not match original declaration [-Wlto-type-mismatch] ClusterProcessor.cc:375:15: note: type 'long unsigned int' should match type 'uint32_t'
/usr/include/stdint.h:51:23: note: the incompatible type is defined here
 typedef unsigned int  uint32_t;

Reply via email to