Here you will find updated scripts for:
- Boost 1.60 - boost-1.60.0-w64-amd64.sh
- ICU 57.1 - icu-57.1-w64-amd64.sh
cd C:\MinGW rmdir /s /q include\boost del lib\libboost*.*
cd C:\MinGW bin\bsdtar -xvJf boost-1.53.0.tar.xz
#include <iostream>
#include <stdexcept>
#include <boost/thread.hpp>
struct A {
A () { std::cout << "A\n"; }
~A () { std::cout << "~A\n"; }
};
void myfunc() {
A temp;
throw std::runtime_error("moo");
}
void mythread() {
myfunc();
}
int main() {
try {
boost::thread t(mythread);
t.join();
}
catch (...) {
}
}
void mythread() {
try {
myfunc();
}
catch (...) {
}
}