#13178 closed Bugs (obsolete)
Compilation error on mac with 1.65.0
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.65.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
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.
Change History (3)
comment:1 by , 5 years ago
comment:2 by , 4 years ago
Component: | None → spirit |
---|---|
Owner: | set to |
Resolution: | → obsolete |
Status: | new → closed |
comment:3 by , 4 years ago
Component: | spirit → None |
---|
Note:
See TracTickets
for help on using tickets.
I have the same problem on linux. boost/stacktrace/detail/push_options.pp and pop_options.pp files have not been installed by b2.