Subject: [Boost-bugs] [Boost C++ Libraries] #13178: Compilation error on mac with 1.65.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-24 23:50:12
#13178: Compilation error on mac with 1.65.0
------------------------------+-------------------------
Reporter: aditya.marella@⦠| Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.65.0 | Severity: Showstopper
Keywords: |
------------------------------+-------------------------
Component: stacktrace
Cannot compile the following code on mac
{{{
/* test.cpp */
#include <signal.h> // ::signal, ::raise
#include <boost/stacktrace.hpp>
void my_signal_handler(int signum) {
::signal(signum, SIG_DFL);
boost::stacktrace::safe_dump_to("./backtrace.dump");
::raise(SIGABRT);
}
int main (void) {
::signal(SIGABRT, &my_signal_handler);
raise(SIGABRT);
}
}}}
Error:
{{{
g++ -o test test.cpp
In file included from test.cpp:2:
In file included from /usr/local/include/boost/stacktrace.hpp:15:
In file included from /usr/local/include/boost/stacktrace/frame.hpp:20:
/usr/local/include/boost/stacktrace/safe_dump_to.hpp:15:10: fatal error:
'boost/stacktrace/detail/push_options.pp' file not found
#include <boost/stacktrace/detail/push_options.pp>
^
1 error generated.
}}}
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13178> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-08-24 23:56:26 UTC