Skip to content
Snippets Groups Projects

Fix building srp_examples.c with musl

Merged Alyssa Ross requested to merge qyliss/librist:musl into master

This fixes the immediate build failure, but it's quite a fragile fix, because if any other libc defines malloc, calloc, or free in a header that has not been included by this point in srp_examples.c, but is subsequently included by srp.c or srp_constants.c, the same problem will occur. The ideal thing to do would be to find a way to accomplish the desired effect without needing to use a macro to override the definitions of libc functions.

Merge request reports

Pipeline #533195 passed

Pipeline passed for a6490097 on qyliss:musl

Approval is optional

Merged by Sergio AmmirataSergio Ammirata 5 months ago (Nov 14, 2024 12:27am UTC)

Merge details

  • Changes merged into master with e42ba82e.
  • Deleted the source branch.

Pipeline #533773 passed

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