Fixes for gcc 13, clang 16 and C++20
- Fix implicit capture of
this
(deprecated in C++20) - Fix (deprecated) implicit conversion from
enum
to float - Avoid use of deprecated
is_pod
- Replace unneeded
enum
withconstexpr unsigned int
- Remove unused variables
- Fix implicit copy constructor/assignment deprecation warning
- Use && instead of & for booleans
- Hide null-pointer-subtraction warning
- Fix potential dereferencing of
nullptr
- Hide warnings
'void operator delete(void*, std::size_t)' called on pointer '<unknown>' with nonzero offset
fromBernsteinPoly.cpp
(probable false positive) - Fix warning about unused functions (only in standalone build of public headers)
-
Replacemoved to !4335 (merged)std::random_shuffle
withstd::shuffle
(random_shuffle
was deprecated in C++14 and should have been removed in C++17)
Notes:
- when building
*-gcc13-dbg
platforms there are a number of spurious warnings in dictionaries, fixed by gaudi/Gaudi!1501 (merged) commit d8ad2fe3 (fromrandom_shuffle
toshuffle
) requires a change in the reference files in Boole and Rec
Edited by Marco Clemencic