https://bugzilla.redhat.com/show_bug.cgi?id=2235178
Hedayat Vatankhah hedayatv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Hedayat Vatankhah hedayatv@gmail.com --- Just a note: the problem is weird. It happens even in the below code where 'myget' won't be called at all. But if you comment the use of logger_type or replace it with another type like int, it'll run fine!!:
#include <boost/log/trivial.hpp>
#include <iostream> using namespace std;
auto& myget() { boost::log::trivial::logger_type lg; return lg; }
int main(int, char*[]) { try { cout << "HIHIHIHI " << endl; return 0; } catch(...) { auto &f = myget(); }
return 0; }