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

gcc 4.7 compatibility #12

Closed
mdimura opened this issue Sep 15, 2015 · 1 comment
Closed

gcc 4.7 compatibility #12

mdimura opened this issue Sep 15, 2015 · 1 comment

Comments

@mdimura
Copy link
Contributor

mdimura commented Sep 15, 2015

The library does not compile with gcc-4.7.0 due to a "std::this_thread::yield()" problem which is known for the 4.7 version.
The error is:

asyncplusplus/include/async++/task.h: In destructor ‘async::local_task<Sched, Func>::~local_task()’:
asyncplusplus/include/async++/task.h:429:4: error: ‘yield’ is not a member of ‘std::this_thread’

@Amanieu
Copy link
Owner

Amanieu commented Sep 15, 2015

Should be fixed by dae7ec0

@Amanieu Amanieu closed this as completed Sep 15, 2015
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