Skip to content
Snippets Groups Projects

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

Merged Marco Clemencic requested to merge fixes-for-gcc13 into master
  • Fix warning about implicit capture of this (deprecated in C++20)
  • Hide maybe-uninitialized warnings from ROOT dictionaries
  • Remove unused variables
  • Fix implicit copy constructor/assignment deprecation warning
  • Avoid warning: ittptmark64.o: missing .note.GNU-stack section implies executable stack
  • Avoid ambiguity in NamedRange_{} == NamedRange_{}

About the warnings from the dictionaries, I managed to produce a test case that show how the warning pops up: https://godbolt.org/z/je7dE3vr1 The problem only appears with the optimization level -Og (used by LHCb in debug builds), so I'm not too worried. In any case I'll report the issue to ROOT ASAP.

Without NamedRange_::operator==, in the comparison between two NamedRange_ instances nr1 and nr2 C++20 would not be able to choose between (Range_&)nr1 == nr2 and (Range_&)nr2 == nr1.

Edited by Marco Clemencic

Merge request reports

Loading
Loading

Activity

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

    added 1 commit

    • 02cc85bc - Avoid warning: ittptmark64.o: missing .note.GNU-stack section implies executable stack

    Compare with previous version

  • Marco Clemencic added 1 commit

    added 1 commit

    • 3fab816e - Avoid ambiguity in "NamedRange_ == NamedRange_"

    Compare with previous version

  • Marco Clemencic changed title from Draft: Fixes for gcc13 and C++20 to Draft: Fixes for gcc 13, clang 16 and C++20

    changed title from Draft: Fixes for gcc13 and C++20 to Draft: Fixes for gcc 13, clang 16 and C++20

  • Marco Clemencic changed the description

    changed the description

  • Marco Clemencic changed milestone to %v37r1

    changed milestone to %v37r1

  • Marco Clemencic added 4 commits

    added 4 commits

    • 1f309c1c - Remove unused variables
    • fcc9b0f8 - Fix implicit copy constructor/assignment deprecation warning
    • b7b755e0 - Avoid warning: ittptmark64.o: missing .note.GNU-stack section implies executable stack
    • 008383dd - Avoid ambiguity in "NamedRange_ == NamedRange_"

    Compare with previous version

  • Marco Clemencic resolved all threads

    resolved all threads

  • 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