https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109074

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You need to use -pthread to use std::thread.

That's what the exception is telling you.

Catching the exception doesn't solve the problem.

Use -pthread.

Reply via email to