On Tue, 29 Jul, 2014 at 2:33 PM, Jan Blechta
<[email protected]> wrote:
BTW, this is the reason why
- dolfin-master-quick-precise-i386
- dolfin-master-quick-precise-amd64
buildslaves fail. Full versions do not fail because they use developer
build type which has -pedantic flag.
Options:
1. simple one: adding -pedantic to CMAKE_CXX_FLAGS (which is used by
all build types)
2. complicated: detect GCC 4.6 by build system and append -pedantic
Which should be done?
Has the bug been reported to Ubuntu on Launchpad? The 'ideal' fix is
that Ubuntu fix the version of gcc that is distributed with Precise.
We've been through this before for a bug in the STL.
Garth
Jan
On Tue, 29 Jul 2014 10:23:55 +0200
Jan Blechta <[email protected]> wrote:
After merge 951295c 'cxx11 initializer list', DOLFIN does not
compile
with c++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 (Ubuntu 12.04 Precise
Pangolin, supported until 04/2017) because of bug in GCC [1].
Workaround is simple - configuring with
-DCMAKE_CXX_FLAGS:STRING=' -pedantic '
Maybe build system could detect this bug and apply workaround when
needed.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50478
Jan
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics