Modify

Opened 9 months ago

Closed 12 days ago

Last modified 11 days ago

#13178 closed Bugs (obsolete)

Compilation error on mac with 1.65.0

Reported by: aditya.marella@… 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.

Attachments (0)

Change History (3)

comment:1 in reply to:  description Changed 9 months ago by Mikhail Pavlov <pavlovmu@…>

I have the same problem on linux. boost/stacktrace/detail/push_options.pp and pop_options.pp files have not been installed by b2.

comment:2 Changed 12 days ago by John Maddock

Component: Nonespirit
Owner: set to Joel de Guzman
Resolution: obsolete
Status: newclosed

comment:3 Changed 11 days ago by Kohei Takahashi

Component: spiritNone

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Joel de Guzman.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.