bioinfologics / satsuma2

FFT cross-correlation based synteny aligner, (re)designed to make full use of parallel computing
41 stars 13 forks source link

Fixing compilation errors with newer gcc versions. #53

Open snehring opened 2 years ago

snehring commented 2 years ago

Newer gcc versions error out on the std::shared_ptr references in analysis/SatsumaSynteny2.cc without this header.

/home/snehring/projects/satsuma2/analysis/SatsumaSynteny2.cc:154:26: error: ‘shared_ptr’ is not a member of ‘std’
  154 |       match_blocks= std::shared_ptr<std::vector<match_segments>>(new vector<match_segments>());
      |                          ^~~~~~~~~~
/home/snehring/projects/satsuma2/analysis/SatsumaSynteny2.cc:154:26: note: ‘std::shared_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?