boysetsfrog / vimpc

Official repository for vimpc a vi/vim inspired client for the Music Player Daemon (mpd). Pull requests are welcome.
GNU General Public License v3.0
269 stars 34 forks source link

Compilation error with --enable-boost: src/clientstate.hpp:125:12: error: ‘thread’ in namespace ‘std’ does not name a type #87

Closed steils closed 5 years ago

steils commented 5 years ago

Reproduces for me with boost-1.70.0. ./configure --enable-boost

In file included from src/vimpc.hpp:28,
                 from src/buffers.cpp:22:
src/clientstate.hpp:125:12: error: ‘thread’ in namespace ‘std’ does not name a type
       std::thread             updateThread_;
            ^~~~~~
src/clientstate.hpp:125:7: note: ‘std::thread’ is defined in header ‘<thread>’; did you forget to ‘#include <thread>’?

See also: https://bugs.gentoo.org/690714

steils commented 5 years ago

It reproduces with boost-1.65.0 as well.

steils commented 5 years ago

Closed via https://github.com/boysetsfrog/vimpc/commit/f768eaa4c62c0c8763be3691b84a5b5e812d6b22