forked from pool/benchmark
77cb70bfa6
* preparing for v1.8.5 * clang format yet again * update actions/checkout to v4 * another reversal of something that breaks on wasm * clang format header fixes * clang-format fixes * roll back fatal error that breaks some platform (wasm) expectations * revert perf counters change until we can do the full version * remove old travis config * [FR] Add API to provide custom profilers #1807 (#1809) * Clarify the difference between `BENCHMARK_TEMPLATE_F` and `BENCHMARK_TEMPLATE_DEFINE_F` + `BENCHMARK_REGISTER_F` (#1815) * add PERF_FORMAT_TOTAL_TIME_{ENABLED,RUNNING} to support multiplexing (#1814) * Add -lkstat to the .pc for Solaris (#1801) * Find libpfm dependency in installed CMake configs (#1806) * [bazel] Use `includes` instead of `strip_include_prefix` (#1803) * cycleclock: Fix type conversion to match function return type on riscv64 (#1802) * Bump minimum required C++ version from C++11 to C++14 (#1800) * bump standard to C++14 (#1799) * cycleclock: Fix type conversion to match function return type (#1794) * CMake: unbreak version handling for tarballs (#1793) * hotfix: Correct pypi-publishing action tag to v1.8.14 (#1791) * Improve compatibility with Hexagon hardware (#1785) * preparing for v1.8.4 (#1788) * Modernize wheel building job config (#1783) * Switch git override to stable BCR tag for nanobind_bazel (#1778) * Add `benchmark_main.pc` to link `main()` containing library (#1779) * Refactor: Return frequency as double (#1782) * Remove COMPILER_IBMXL macro for z/OS (#1777) * Fix OpenBSD build (#1772) OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=49
13 lines
423 B
Diff
13 lines
423 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b8852e4..4363fa1 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -238,6 +238,7 @@ else()
|
|
if (BENCHMARK_ENABLE_LTO)
|
|
add_cxx_compiler_flag(-flto)
|
|
add_cxx_compiler_flag(-Wno-lto-type-mismatch)
|
|
+ add_cxx_compiler_flag(-Wno-error=maybe-uninitialized)
|
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
|
find_program(GCC_AR gcc-ar)
|
|
if (GCC_AR)
|