Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Error #28

Open
NobilisNC opened this issue Oct 9, 2018 · 1 comment
Open

Link Error #28

NobilisNC opened this issue Oct 9, 2018 · 1 comment

Comments

@NobilisNC
Copy link

NobilisNC commented Oct 9, 2018

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.

@grantila
Copy link
Owner

Hmm, then you probably didn't build libq with C++17 in the first place, right? I haven't done so myself, so any input (and PR's if needed) are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants