Skip to content
Snippets Groups Projects

Fix some gcc8 warnings

Merged Frank Winklmeier requested to merge fwinkl/Gaudi:gcc8_fixes into master

Fix some gcc8 warnings:

GaudiHive:

  • catch polymorphic exceptions by reference

GaudiProfiling:

  • Avoid using sprintf with the same source and destination buffers
  • Replace strncpy with memcpy
  • Use sa_sigaction instead of sa_handler for the signal handler to avoid function pointer type mismatch

For the changes in GaudiProfiling it would be good if someone who actually uses this code cross-checks my changes (cc @rmatev). The amount of low-level string manipulations in that code is a bit scary.

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
Please register or sign in to reply
Loading