Skip to content
Snippets Groups Projects

Refining compiler warnings to detect race conditions

  • adding -Werror=unused-result to ensure that, e.g., lock_guards without variable names are not being optimized out.

This is enabled by default on GCC 14 (Ubuntu 24) and revealed race conditions such as in robot-api@2772f062

/cc @dreher

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