在github上下载了最新版的bedtool,在make时报错,报错内容如下:
src/utils/BamTools/include/BamAlignment.mapping.hpp: In member function ‘bam1_t* BamTools::BamAlignment::_Bin_t::_ptr() const’:
src/utils/BamTools/include/BamAlignment.mapping.hpp:10:92: warning: invalid access to non-static data member ‘BamTools::BamAlignment::Bin’ of NULL object [-Winvalid-offsetof]
return ((BamAlignment*)(((uintptr_t)this) - ((uintptr_t)&((BamAlignment*)NULL)->Bin)))->HtsObj2();
^
src/utils/BamTools/include/BamAlignment.mapping.hpp:10:92: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
本人编程基础较差,求问各位们具体应如何解决该问题?