Skip to content
Snippets Groups Projects

Fixes for gcc 13, clang 16 and C++20

Merged Marco Clemencic requested to merge clemenci/fixes-for-gcc13 into master
  • 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 with constexpr 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 from BernsteinPoly.cpp (probable false positive)
  • Fix warning about unused functions (only in standalone build of public headers)
  • Replace std::random_shuffle with std::shuffle (random_shuffle was deprecated in C++14 and should have been removed in C++17) moved to !4335 (merged)

Notes:

  • when building *-gcc13-dbg platforms there are a number of spurious warnings in dictionaries, fixed by gaudi/Gaudi!1501 (merged)
  • commit d8ad2fe3 (from random_shuffle to shuffle) requires a change in the reference files in Boole and Rec
Edited by Marco Clemencic

Merge request reports

Merge request pipeline #6365278 passed

Merge request pipeline passed for c61048cf

Merged by Marco ClemencicMarco Clemencic 1 year ago (Oct 31, 2023 8:40am UTC)

Loading

Pipeline #6413597 passed

Pipeline passed for 8742ea65 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Marco Clemencic added 20 commits

    added 20 commits

    • 27961150...78b659b7 - 8 commits from branch master
    • 78b659b7...b5765f72 - 2 earlier commits
    • 0b8e0f56 - Avoid use of deprecated is_pod
    • c1831bbf - Replace unneeded enum with constexpr int
    • cea13ade - Remove unused variables
    • ba7071f0 - Fix implicit copy constructor/assignment deprecation warning
    • 22a4a926 - Use && instead of & for booleans
    • facc262d - Hide null-pointer-subtraction warning
    • 06840d6f - Fix dereferencing of nullptr
    • 637b505f - Suppress warning from BernsteinPoly.cpp (gcc13)
    • 386f34ba - Fix Clang warning about unused functions
    • 89a151f6 - Replace std::random_shuffle with std::shuffle

    Compare with previous version

  • Marco Clemencic added 1 commit

    added 1 commit

    • 9079929a - Hide maybe-uninitialized warning from Vc

    Compare with previous version

  • Marco Clemencic added 19 commits

    added 19 commits

    • 9079929a...1ecddf03 - 6 commits from branch master
    • 1ecddf03...87171a48 - 3 earlier commits
    • 10b0d513 - Replace unneeded enum with constexpr int
    • 69aa2b1d - Remove unused variables
    • 2d2b2e78 - Fix implicit copy constructor/assignment deprecation warning
    • e22f8185 - Use && instead of & for booleans
    • 0571bd8f - Hide null-pointer-subtraction warning
    • 55678604 - Fix dereferencing of nullptr
    • 53b22872 - Suppress warning from BernsteinPoly.cpp (gcc13)
    • 33e4e24f - Fix Clang warning about unused functions
    • d8ad2fe3 - Replace std::random_shuffle with std::shuffle
    • 723a61ca - Hide maybe-uninitialized warning from Vc

    Compare with previous version

  • Marco Clemencic marked this merge request as ready

    marked this merge request as ready

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading