Error: COMPILER_WARNING: [#def1] abseil-cpp-20250127.1/absl/flags/flag_test.cc:47:1: warning[-Wodr]: ‘FLAGS_mistyped_int_flag’ violates the C++ One Definition Rule # 47 | ABSL_DECLARE_FLAG(int64_t, mistyped_int_flag); # | ^ abseil-cpp-20250127.1/absl/flags/flag_test_defs.cc:21:1: note: type name ‘absl::lts_20250127::flags_internal::Flag<int>’ should match type name ‘absl::lts_20250127::flags_internal::Flag<long>’ # 21 | ABSL_FLAG(int, mistyped_int_flag, 0, ""); # | ^ abseil-cpp-20250127.1/absl/flags/flag_test_defs.cc:21:1: note: ‘FLAGS_mistyped_int_flag’ was previously declared here # 45| #include "absl/types/optional.h" # 46| # 47|-> ABSL_DECLARE_FLAG(int64_t, mistyped_int_flag); # 48| ABSL_DECLARE_FLAG(std::vector<std::string>, mistyped_string_flag); # 49| Error: COMPILER_WARNING: [#def2] abseil-cpp-20250127.1/absl/flags/flag_test.cc:48:1: warning[-Wodr]: ‘FLAGS_mistyped_string_flag’ violates the C++ One Definition Rule # 48 | ABSL_DECLARE_FLAG(std::vector<std::string>, mistyped_string_flag); # | ^ abseil-cpp-20250127.1/absl/flags/flag_test_defs.cc:22:1: note: type name ‘absl::lts_20250127::flags_internal::Flag<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ should match type name ‘absl::lts_20250127::flags_internal::Flag<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >’ # 22 | ABSL_FLAG(std::string, mistyped_string_flag, "", ""); # | ^ abseil-cpp-20250127.1/absl/flags/flag_test_defs.cc:22:1: note: ‘FLAGS_mistyped_string_flag’ was previously declared here # 46| # 47| ABSL_DECLARE_FLAG(int64_t, mistyped_int_flag); # 48|-> ABSL_DECLARE_FLAG(std::vector<std::string>, mistyped_string_flag); # 49| # 50| namespace {
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-118.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | abseil-cpp-20250127.1-1.fc43 |
store-results-to | /tmp/tmpsmnn9pqy/abseil-cpp-20250127.1-1.fc43.tar.xz |
time-created | 2025-04-25 12:10:26 |
time-finished | 2025-04-25 12:23:30 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpsmnn9pqy/abseil-cpp-20250127.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsmnn9pqy/abseil-cpp-20250127.1-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |