Closed mateidavid closed 8 years ago
As mentioned in #122 I would prefer not going backwards with the C/C++ standards.
Setting a specific language standard during compilation amounts to acknowledging the dialect that was used to write the program in the first place. The reason the standard is not currently set during compilation is because back then, there was only one unambiguous C++ standard, c++98/gnu++98
. Recent language updates (C++11, C++14) introduce occasionally incompatible changes. What value do you see in updating a software package to work with a new standard, if 1) it works just fine with an old standard and 2) modern compilers know about old standards?
I can live with that reasoning. LGTM.
I reverted the
getline
modifications (which were not comprehensive), and instead set the entire language standard toc++98/gnu99
. I added a build testing Dockerfile, which currently works withgcc-6.1.1
. Note, thegcc6
fix for BamTools is not yet present in the latest tagged release (2.4.0), so BamTools must be installed withgit clone
instead ofwget
.