-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Labels
Description
In file included from /blah/stlab/concurrency/system_timer.hpp:36:0,
from /blah/stlab/concurrency/executor_base.hpp:15,
from /blah/stlab/concurrency/future.hpp:21,
from ../lib/Concurrency/futures.h:12,
from ../lib/Concurrency/futures.cpp:1:
/home/velo3d/.conan/data/stlab/1.2.0-0/blah/stlab/concurrency/task.hpp: In instantiation of ‘class stlab::v1::task<void()>’:
/blah/stlab/concurrency/system_timer.hpp:182:26: required from here
/blah/stlab/concurrency/task.hpp:127:30: error: ‘constexpr’ needed for in-class initialization of static data member ‘const stlab::v1::task<void()>::concept stlab::v1::task<void()>::_vtable’ of non-integral type [-fpermissive]
static constexpr concept _vtable = {dtor, move_ctor, invoke,
^
/blah/stlab/concurrency/task.hpp: In instantiation of ‘const stlab::v1::task<void()>::concept stlab::v1::task<void()>::_vtable’:
/blah/stlab/concurrency/task.hpp:130:34: required from here
As I read it, the values used in the _vtable initialization also need to be constexpr.
GCC 5.4 (ubuntu 16). I'm trying to get it out on ubuntu 18