-
- Downloads
Prevent klib unused function warnings
Recent versions of Clang warn about unused static inline functions in .c files (though they suppress this warning for such definitions in header files). Definitions via KHASH_INIT etc are effectively in the .c file, and it's impractical to make these inline other than static inline; so add attributes to suppress these warnings. See upstream PR attractivechaos/klib#47. (One warning about ks_getc() remains; htslib's use of kstreams is a disaster area of clashing types that needs further surgery.)
Please register or sign in to comment