Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/bwaPublic

Avoid conflicting with HTSlib's kstring.c functions#346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lh3 merged 1 commit intolh3:masterfromjmarshall:bwa_kvsprintf
Mar 21, 2025

Conversation

jmarshall
Copy link
Contributor

Some people's programs use both HTSlib and libbwa.a — see e.g.samtools/htslib#693. Unfortunately one function —ksprintf — is defined in both libraries, leading to linker errors.

This happens forksprintf only, because all the other functions in bwa'skstring.h are declared asstatic inline.

This PR makesksprintf() static inline inkstring.h, so that it (like the otherbwa/kstring.h functions) won't conflict with similar HTSlib functions. Instead implement it and a newkvsprintf() in terms of a newbwa_kvsprintf() function.Fixessamtools/htslib#693.

Make ksprintf() static inline in kstring.h, so that it (like the otherbwa/kstring.h functions) won't conflict with similar HTSlib functions.Instead implement it and kvsprintf() in terms of a new bwa_kvsprintf()function.Fixessamtools/htslib#693.
@lh3lh3 merged commit4d2eb1f intolh3:masterMar 21, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Duplicate symbols with libbwa
2 participants
@jmarshall@lh3

[8]ページ先頭

©2009-2025 Movatter.jp