cmake-cookbook icon indicating copy to clipboard operation
cmake-cookbook copied to clipboard

Chapter 14, recipe 3 (Fortran) is marked as failing on Travis

Open bast opened this issue 7 years ago • 2 comments

The test fails because ASan does not detect a memory leak.

Possible reasons:

  • compiler version
  • trivial code gets optimized away
  • code is wrapped in module/function and might need to be lifted to program level

Locally on my laptop (GNU Fortran (GCC) 8.2.0) the memory leak is detected and the test behaves normally.

bast avatar Sep 02 '18 15:09 bast

Marked as failing in a171e43.

bast avatar Sep 02 '18 15:09 bast

Also the C++ example fails on macOS. Marked as failng.

robertodr avatar Sep 02 '18 18:09 robertodr