http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59830 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- <future> relies on mutexes and condition variables so you need to compile and link with -pthread