Back to the "Multiple platform build/check report" A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q [R] S  T  U  V  W  X  Y  Z 

BioC 3.4: CHECK report for Rsamtools on morelia

This page was generated on 2017-04-15 16:23:13 -0400 (Sat, 15 Apr 2017).

Package 1083/1296HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Rsamtools 1.26.2
Bioconductor Package Maintainer
Snapshot Date: 2017-04-14 17:17:13 -0400 (Fri, 14 Apr 2017)
URL: https://hedgehog.fhcrc.org/bioconductor/branches/RELEASE_3_4/madman/Rpacks/Rsamtools
Last Changed Rev: 128125 / Revision: 128728
Last Changed Date: 2017-04-06 06:20:21 -0400 (Thu, 06 Apr 2017)
malbec1 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay1 Windows Server 2012 R2 Standard / x64  OK  OK  WARNINGS  OK UNNEEDED, same version exists in internal repository
morelia Mac OS X Mavericks (10.9.5) / x86_64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository

Summary

Package: Rsamtools
Version: 1.26.2
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --no-vignettes --timings Rsamtools_1.26.2.tar.gz
StartedAt: 2017-04-15 07:39:01 -0700 (Sat, 15 Apr 2017)
EndedAt: 2017-04-15 07:42:31 -0700 (Sat, 15 Apr 2017)
EllapsedTime: 210.2 seconds
RetCode: 0
Status:  OK 
CheckDir: Rsamtools.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --no-vignettes --timings Rsamtools_1.26.2.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck’
* using R version 3.3.3 (2017-03-06)
* using platform: x86_64-apple-darwin13.4.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘Rsamtools/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘Rsamtools’ version ‘1.26.2’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘Rsamtools’ can be installed ... OK
* checking installed package size ... NOTE
  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    extdata   2.6Mb
    usrlib    1.2Mb
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... NOTE
Unexported objects imported by ':::' calls:
  ‘S4Vectors:::explodeIntBits’ ‘S4Vectors:::implodeIntBits’
  ‘S4Vectors:::makePowersOfTwo’ ‘S4Vectors:::quick_unlist’
  ‘S4Vectors:::selectSome’
  See the note in ?`:::` about the use of this operator.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... NOTE
File ‘Rsamtools/libs/Rsamtools.so’:
  Found ‘___stderrp’, possibly from ‘stderr’ (C)
    Object: ‘samtools_patch.o’

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor the system RNG.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
         user system elapsed
pileup 27.746  0.103  28.864
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘Rsamtools_unit_tests.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 3 NOTEs
See
  ‘/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/00check.log’
for details.


Rsamtools.Rcheck/00install.out:

* installing *source* package ‘Rsamtools’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c Biostrings_stubs.c -o Biostrings_stubs.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c IRanges_stubs.c -o IRanges_stubs.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c PileupBuffer.cpp -o PileupBuffer.o
In file included from PileupBuffer.cpp:1:
./PileupBuffer.h:56:16: warning: private field 'schema' is not used [-Wunused-private-field]
    const SEXP schema, pileupParams, seqnamesLevels;
               ^
1 warning generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c PosCacheColl.cpp -o PosCacheColl.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c R_init_Rsamtools.c -o R_init_Rsamtools.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c ResultManager.cpp -o ResultManager.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c S4Vectors_stubs.c -o S4Vectors_stubs.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c XVector_stubs.c -o XVector_stubs.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c as_bam.c -o as_bam.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c bam_data.c -o bam_data.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c bam_mate_iter.cpp -o bam_mate_iter.o
In file included from bam_mate_iter.cpp:2:
In file included from ./BamRangeIterator.h:7:
./BamIterator.h:84:25: warning: field 'iter_done' will be initialized after field 'bam' [-Wreorder]
        bindex(bindex), iter_done(false),
                        ^
./BamIterator.h:85:9: warning: field 'bam' will be initialized after field 'bam_data' [-Wreorder]
        bam((bam1_t *) NULL), bam_data((BAM_DATA) NULL)
        ^
In file included from bam_mate_iter.cpp:2:
./BamRangeIterator.h:11:13: warning: private field 'tid' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
            ^
./BamRangeIterator.h:11:18: warning: private field 'beg' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
                 ^
./BamRangeIterator.h:11:23: warning: private field 'end' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
                      ^
5 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c bambuffer.c -o bambuffer.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c bamfile.c -o bamfile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c bcffile.c -o bcffile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c encode.c -o encode.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c fafile.c -o fafile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c idxstats.c -o idxstats.o
idxstats.c:32:1: warning: unused function 'kh_init_idxstat_hash' [-Wunused-function]
KHASH_MAP_INIT_INT(idxstat_hash, bam_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:42:1: note: expanded from here
kh_init_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_destroy_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:47:1: note: expanded from here
kh_destroy_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_clear_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:50:1: note: expanded from here
kh_clear_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_put_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:59:1: note: expanded from here
kh_put_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_del_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:64:1: note: expanded from here
kh_del_idxstat_hash
^
5 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c io_sam.c -o io_sam.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c pbuffer_wrapper.cpp -o pbuffer_wrapper.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c pileup.cpp -o pileup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c pileupbam.c -o pileupbam.o
pileupbam.c:59:1: warning: unused function 'kh_destroy_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:34:1: note: expanded from here
kh_destroy_s
^
pileupbam.c:59:1: warning: unused function 'kh_clear_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:37:1: note: expanded from here
kh_clear_s
^
pileupbam.c:59:1: warning: unused function 'kh_get_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:40:1: note: expanded from here
kh_get_s
^
pileupbam.c:59:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:51:1: note: expanded from here
kh_del_s
^
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools_patch.c -o samtools_patch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c scan_bam_data.c -o scan_bam_data.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c tabixfile.c -o tabixfile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c tagfilter.c -o tagfilter.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c utilities.c -o utilities.o
utilities.c:91:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:213:1: note: expanded from here
kh_clear_str
^
utilities.c:91:1: warning: unused function 'kh_del_str' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:13:1: note: expanded from here
kh_del_str
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c zip_compression.c -o zip_compression.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bgzf.c -o samtools/bgzf.o
samtools/bgzf.c:83:1: warning: unused function 'kh_clear_cache' [-Wunused-function]
KHASH_MAP_INIT_INT64(cache, cache_t)
^
./samtools/khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:24:1: note: expanded from here
kh_clear_cache
^
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/kstring.c -o samtools/kstring.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_aux.c -o samtools/bam_aux.o
samtools/bam_aux.c:5:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:200:1: note: expanded from here
kh_clear_s
^
samtools/bam_aux.c:5:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:214:1: note: expanded from here
kh_del_s
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_init_r2l' [-Wunused-function]
KHASH_MAP_INIT_STR(r2l, str_p)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:221:1: note: expanded from here
kh_init_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_destroy_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:226:1: note: expanded from here
kh_destroy_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_clear_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:229:1: note: expanded from here
kh_clear_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_get_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:232:1: note: expanded from here
kh_get_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_put_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:238:1: note: expanded from here
kh_put_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_del_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:243:1: note: expanded from here
kh_del_r2l
^
8 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam.c -o samtools/bam.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_import.c -o samtools/bam_import.o
samtools/bam_import.c:20:1: warning: unused function 'kh_clear_ref' [-Wunused-function]
KHASH_MAP_INIT_STR(ref, uint64_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:139:1: note: expanded from here
kh_clear_ref
^
samtools/bam_import.c:20:1: warning: unused function 'kh_get_ref' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:142:1: note: expanded from here
kh_get_ref
^
samtools/bam_import.c:20:1: warning: unused function 'kh_del_ref' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:153:1: note: expanded from here
kh_del_ref
^
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/sam.c -o samtools/sam.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_index.c -o samtools/bam_index.o
samtools/bam_index.c:64:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, bam_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:218:1: note: expanded from here
kh_clear_i
^
samtools/bam_index.c:64:1: warning: unused function 'kh_del_i' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:232:1: note: expanded from here
kh_del_i
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_pileup.c -o samtools/bam_pileup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_lpileup.c -o samtools/bam_lpileup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_md.c -o samtools/bam_md.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/razf.c -o samtools/razf.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/faidx.c -o samtools/faidx.o
samtools/faidx.c:14:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, faidx1_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:154:1: note: expanded from here
kh_clear_s
^
samtools/faidx.c:14:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:168:1: note: expanded from here
kh_del_s
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/knetfile.c -o samtools/knetfile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_sort.c -o samtools/bam_sort.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/sam_header.c -o samtools/sam_header.o
samtools/sam_header.c:10:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, const char *)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:154:1: note: expanded from here
kh_clear_str
^
samtools/sam_header.c:10:1: warning: unused function 'kh_del_str' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:168:1: note: expanded from here
kh_del_str
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bam_reheader.c -o samtools/bam_reheader.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/kprobaln.c -o samtools/kprobaln.o
ar -crus libbam.a samtools/bgzf.o samtools/kstring.o samtools/bam_aux.o samtools/bam.o samtools/bam_import.o samtools/sam.o samtools/bam_index.o samtools/bam_pileup.o samtools/bam_lpileup.o samtools/bam_md.o samtools/razf.o samtools/faidx.o samtools/knetfile.o samtools/bam_sort.o samtools/sam_header.o samtools/bam_reheader.o samtools/kprobaln.o samtools_patch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/bcf.c -o samtools/bcftools/bcf.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/vcf.c -o samtools/bcftools/vcf.o
samtools/bcftools/vcf.c:304:15: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
                endblock: i = i;
                          ˜ ^ ˜
samtools/bcftools/vcf.c:68:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(vcfFile, vcfFile_read, 4096)
^
./samtools/kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./samtools/kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/bcfutils.c -o samtools/bcftools/bcfutils.o
samtools/bcftools/bcfutils.c:13:1: warning: unused function 'kh_clear_str2id' [-Wunused-function]
KHASH_MAP_INIT_STR(str2id, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:51:1: note: expanded from here
kh_clear_str2id
^
samtools/bcftools/bcfutils.c:13:1: warning: unused function 'kh_del_str2id' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:65:1: note: expanded from here
kh_del_str2id
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/prob1.c -o samtools/bcftools/prob1.o
samtools/bcftools/prob1.c:17:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
./samtools/kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./samtools/kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/index.c -o samtools/bcftools/index.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/fet.c -o samtools/bcftools/fet.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c samtools/bcftools/bcf2qcall.c -o samtools/bcftools/bcf2qcall.o
ar -crus libbcf.a samtools/bcftools/bcf.o samtools/bcftools/vcf.o samtools/bcftools/bcfutils.o samtools/bcftools/prob1.o samtools/bcftools/index.o samtools/bcftools/fet.o samtools/bcftools/bcf2qcall.o samtools_patch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c tabix/index.c -o tabix/index.o
tabix/index.c:34:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, ti_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:27:1: note: expanded from here
kh_clear_i
^
tabix/index.c:34:1: warning: unused function 'kh_del_i' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:41:1: note: expanded from here
kh_del_i
^
tabix/index.c:35:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:56:1: note: expanded from here
kh_clear_s
^
tabix/index.c:35:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:70:1: note: expanded from here
kh_del_s
^
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Biostrings/include"   -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -mtune=core2 -g -O2  -c tabix/bedidx.c -o tabix/bedidx.o
tabix/bedidx.c:20:1: warning: unused function 'kh_clear_reg' [-Wunused-function]
KHASH_MAP_INIT_STR(reg, bed_reglist_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:214:1: note: expanded from here
kh_clear_reg
^
tabix/bedidx.c:20:1: warning: unused function 'kh_del_reg' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:228:1: note: expanded from here
kh_del_reg
^
2 warnings generated.
ar -crus libtabix.a samtools/bgzf.o samtools/kstring.o samtools/knetfile.o tabix/index.o tabix/bedidx.o samtools_patch.o
mkdir -p "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/samtools/bcftools"
mkdir -p "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/tabix"
cp samtools/*.h "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/samtools/"
cp samtools/bcftools/*h "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/samtools/bcftools/"
cp tabix/*h "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/tabix/"
cp samtools/bgzf.h samtools/kstring.h samtools/knetfile.h \
		"/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/tabix/"
mkdir -p "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib"
cp libbam.a libbcf.a libtabix.a "/Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib"
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Rsamtools.so Biostrings_stubs.o IRanges_stubs.o PileupBuffer.o PosCacheColl.o R_init_Rsamtools.o ResultManager.o S4Vectors_stubs.o XVector_stubs.o as_bam.o bam_data.o bam_mate_iter.o bambuffer.o bamfile.o bcffile.o encode.o fafile.o idxstats.o io_sam.o pbuffer_wrapper.o pileup.o pileupbam.o samtools_patch.o scan_bam_data.o tabixfile.o tagfilter.o utilities.o zip_compression.o -pthread /Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib/libbam.a /Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib/libbcf.a /Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib/libtabix.a -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
clang: warning: argument unused during compilation: '-pthread'
installing to /Users/biocbuild/bbs-3.4-bioc/meat/Rsamtools.Rcheck/Rsamtools/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (Rsamtools)

Rsamtools.Rcheck/Rsamtools-Ex.timings:

nameusersystemelapsed
ApplyPileupsParam-class0.2180.0080.404
BamFile-class0.5410.0931.844
BamViews-class0.0340.0010.035
BcfFile-class0.4350.0090.444
FaFile-class0.0310.0010.032
PileupFiles-class0.0720.0040.257
Rsamtools-package0.0090.0000.010
ScanBamParam-class0.5510.0290.579
ScanBcfParam-class000
TabixFile-class0.0240.0010.024
applyPileups0.0590.0020.060
headerTabix0.0020.0010.003
indexTabix0.0310.0010.064
pileup27.746 0.10328.864
quickBamFlagSummary0.0230.0030.027
readPileup0.0550.0010.058
scanBam0.4070.0420.747
scanBcf0.1700.0210.206
scanFa0.0300.0010.031
scanTabix0.0390.0020.045
seqnamesTabix0.0040.0000.005
testPairedEndBam0.0160.0010.017
zip0.0210.0010.037