Test system does ot report/fail on compiler warnings

Issue #116 resolved
Prof Garth Wells created an issue

The tests system does not turn compiler warnings into error, see http://fenics-bamboo.simula.no:8085/download/FFC-FFCDN-RT/build_logs/FFC-FFCDN-RT-48.log. This will cause problem when compiling DOLFIN with FFC generated code.

The FFC regression testing is in a bit of a mess. It uses c-style return codes rather than raising exceptions that can be handled by the testing framework.

See also

Comments (14)

  1. Jan Blechta

    I think you might be wrong here, Garth. It seems that those are warnings. The error prefix could mean stderr stream.

  2. Prof Garth Wells reporter

    @blechta You're right.

    The unused variable warnings should be turned into errors because they won't allow DOLFIN to be compiled with strict flags.

  3. Martin Sandve Alnæs

    Is this still an issue? The uflacs unused-variables are fixed and I'm adding -pedantic back for uflacs regressions.

  4. Log in to comment