Skip to content
Snippets Groups Projects

Fix -Werror=array-bounds build failures with gcc 14.2 when MALLOC_0_RETURNS_NULL is defined

Merged Alan Coopersmith requested to merge alanc/libx11:compilers into master
  • _XlcDefaultMapModifiers: remove conversions between size_t & int
  • _XimEncodingNegotiation: swap order of arguments to calloc
  • _XimStrConversionCallback: use size_t to calculate size to malloc

The errors seem wrong to me, but since gcc 14.2 is already out in the wild, we need to work with it.

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