mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 21:16:40 +00:00
Example:
apps/benchmarks/settings/access.cpp: In function ‘void {anonymous}::localStatic(benchmark::State&)’:
apps/benchmarks/settings/access.cpp:43:37: warning: ‘typename std::enable_if<(std::is_trivially_copyable<_Tp>::value && (sizeof (Tp) <= sizeof (Tp*)))>::type benchmark::DoNotOptimize(const Tp&) [with Tp = float; typename std::enable_if<(std::is_trivially_copyable<_Tp>::value && (sizeof (Tp) <= sizeof (Tp*)))>::type = void]’ is deprecated: The const-ref version of this method can permit undesired compiler optimizations in benchmarks [-Wdeprecated-declarations]
43 | benchmark::DoNotOptimize(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
|
||
|---|---|---|
| .. | ||
| benchmarks | ||
| bsatool | ||
| bulletobjecttool | ||
| esmtool | ||
| essimporter | ||
| launcher | ||
| mwiniimporter | ||
| navmeshtool | ||
| niftest | ||
| opencs | ||
| opencs_tests | ||
| openmw | ||
| openmw_test_suite | ||
| wizard | ||
| doc.hpp | ||