http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59830
--- Comment #2 from b17c0de at gmail dot com --- (In reply to Jonathan Wakely from comment #1) > <future> relies on mutexes and condition variables so you need to compile > and link with -pthread Thanks! That was indeed the problem. Whats with the strange error though?