Closed romintomasetti closed 1 month ago
I don't see that line where the your snippet says it is:
https://github.com/google/benchmark/blob/v1.8.4/src/benchmark_runner.cc#L374
In fact, there's no seconds_pow2
in the entire codebase:
$ git grep seconds_pow2
$
@LebedevRI Sorry for the noise, I was using the patch from https://github.com/google/benchmark/pull/1744/files...
We are including
Benchmark
within our project using theCMake
FetchContent
approach.This means that
Benchmark
gets compiled with the some compiler (and global compile options) as the rest of the project.Since today's release of
Benchmark
1.8.4
, we are seeing several-Wconversion
issues:I think that it could be fixed with
static_cast
. For now, our fix is to add: