Topic: Compiling on MacOS (11.4) - Clang compiler warnings / ctest results
I have tried to compile the OOFEM on our new MacOS machine (clang-1205.0.22.11).
The procedure was surprisingly easy and the compilation was successful on first try.
Nevertheless I have 2 concerns
1) The following tests FAILED:
56 - test_sm_con1dpm3.in (Failed)
251 - test_fm_weakPeriodicTriangularObstacle.in (Failed)
Errors while running CTest
make[3]: *** [CMakeFiles/tests] Error 8
make[2]: *** [CMakeFiles/tests.dir/all] Error 2
make[1]: *** [CMakeFiles/tests.dir/rule] Error 2
make: *** [tests] Error 2
I have found similar topic on test 251 failing (http://www.oofem.org/forum/viewtopic.php?id=1734) but why all of the tests were successful on Ubuntu?
2) Unlike the GCC compiler, Clang generates numerous warnings and most of them are related to the coding style rather than something fundamental.
I am also wondering if there is any will or interest to resolve the warnings or they should rather be ignored?