Skip to content

Link Error  #28

@NobilisNC

Description

@NobilisNC

Hello,

I'm unable to link your lib with one of mine.
I cannot use it if this code is present :

static auto ec = q::make_execution_context< q::blocking_dispatcher >( "main" );

Error:

undefined reference to `q::blocking_dispatcher::set_task_fetcher(q::detail::any_function<q::timer_task () noexcept, std::integral_constant<bool, true>, std::integral_constant<unsigned long, 128ul>, q::timer_task>&&)'

Any idea ? I built it with cmake and all test are ok.
I'm using GCC7

Edit: I was compiling my lib with C++17 and it was not working. But if I compile it with C++14 it's ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions