lmrodriguezr / nonpareil

Estimate metagenomic coverage and sequence diversity
http://enve-omics.ce.gatech.edu/nonpareil/
Other
44 stars 11 forks source link

Warnings compiling #5

Closed lmrodriguezr closed 10 years ago

lmrodriguezr commented 11 years ago

The code produces the following warnings when compiling with gcc 4.6:

universal.cpp: In function ‘void say(const char*, ...)’:
universal.cpp:110:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[...]
nonpareil_mating.cpp: In function ‘void nonpareil_count_mates_block(int*&, int, char**&, char**&, int, int, int, matepar_t)’:
nonpareil_mating.cpp:123:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[...]
nonpareil_sampling.cpp: In function ‘int nonpareil_sample_portion(double*&, int, samplepar_t)’:
nonpareil_sampling.cpp:53:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

This problem was first reported as part of #4.

lmrodriguezr commented 10 years ago

This was solved around v2.0.