Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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
/bwaPublic
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

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

Open
jmarshall wants to merge1 commit intolh3:master
base:master
Choose a base branch
Loading
fromjmarshall:bwa_kvsprintf

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.
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
1 participant
@jmarshall

[8]ページ先頭

©2009-2025 Movatter.jp