Fix MSVC warnings and add some doxygen workarounds for prettier reference section of the docs

This commit is contained in:
Antony Polukhin
2017-04-29 01:00:00 +03:00
parent 55063fd438
commit 3d25e45a0d
4 changed files with 8 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ namespace std { inline void ignore_abort(){ std::exit(0); } }
#include <boost/stacktrace.hpp>
namespace boost {
inline void assertion_failed_msg(char const* expr, char const* msg, char const* function, char const* file, long line) {
inline void assertion_failed_msg(char const* expr, char const* msg, char const* function, char const* /*file*/, long /*line*/) {
std::cerr << "Expression '" << expr << "' is false in function '" << function << "': " << (msg ? msg : "<...>") << ".\n"
<< "Backtrace:\n" << boost::stacktrace::stacktrace() << '\n';
std::abort();