[mlpack-git] [mlpack/mlpack] Added test coverage framework (#720)

Ryan Curtin notifications at github.com
Mon Jul 18 17:31:03 EDT 2016


I think the Boost errors were my own setup; I am not able to reproduce them on other systems, so I think we can ignore them.

I did find, though, that I got errors with `-fkeep-inline-functions`:

```
Linking CXX executable ../../../../bin/mlpack_fastmks
CMakeFiles/mlpack_fastmks.dir/fastmks_main.cpp.o: In function `__gnu_cxx::recursive_init_error::recursive_init_error()':
/usr/include/c++/5/cxxabi.h:702: undefined reference to `vtable for __gnu_cxx::recursive_init_error'
```

That's with gcc 5.2.1, and I've added `-lsupc++`:

```
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lsupc++")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lsupc++")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -lsupc++")
```

I'll keep looking to see if I can work out the issue.  Maybe I have set the `-lsupc++` option wrong or something, but that does seem to work on other GCC 5 versions.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/720#issuecomment-233465298
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160718/112131ed/attachment.html>


More information about the mlpack-git mailing list