Check gcc version during configure
Issue #408
resolved
GCC is almost certainly the most commonly used compiler for building DOLFIN, but earlier versions have C++11 bugs. We should test for the version, and the build system should throw and error is gcc is too old (we would have to figure out how far back to go).
Comments (5)
-
-
- changed milestone to 1.6
-
reporter - changed milestone to 1.5
-
assigned issue to
-
reporter - changed status to resolved
Fixed in edca941
-
reporter - removed milestone
Removing milestone: 1.5 (automated comment)
- Log in to comment
To narrow it ,
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
from Ubuntu 12.04 Precise is known to work. On the other handgcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
fails to implicitly cast initializer list to STL container.