Check gcc version during configure

Issue #408 resolved
Prof Garth Wells created an issue

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)

  1. Jan Blechta

    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 hand gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) fails to implicitly cast initializer list to STL container.

  2. Log in to comment