Need to specify C++ standard for ./configure
I will preface this issue with the disclaimer that I do not know enough about this to be able to claim that I know what I am talking about but it is an issue that I have run into while compiling graph-tool from git and that was raised on Stackoverflow during an answer.
It seems like I need to indicate to the compiler which c++ standard I want to use. Namely I appear to have to set CXXFLAGS='-std=c++14'
as a compiler flag or I will run into error messages during make
. This answer to my stackoverflow post on the matter (http://stackoverflow.com/a/41664489/5313508 ) thinks:
"This is a bug in the autotooling of the package (which generates the configure script). As a package user you should not need to specify the applicable C++ language standard for a successful build: it should be pre-configured.
You might be seeing this bug because you are using a master branch head of the repo, rather than a stable package release, but it's still a quality gaffe if the master branch head doesn't build with the default ./configure - and it doesn't: I confirm your build break."
I cannot evaluate if the claim about the "quality gaffe" is justified but I thought I would pass it along.