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

sched.h name clash with system <sched.h> #28

Open
Goobley opened this issue Mar 27, 2020 · 0 comments
Open

sched.h name clash with system <sched.h> #28

Goobley opened this issue Mar 27, 2020 · 0 comments

Comments

@Goobley
Copy link

Goobley commented Mar 27, 2020

If sched.h is in a folder added to the include path on Linux and WSL e.g. by gcc -Iinclude then <pthread.h> will attempt to include this sched.h rather than the system one. This can be tested by just compiling the sched demo whilst including sched.h from a different folder. It may be sensible to rename sched.h, perhaps back to mm_sched.h, or scheduler.h, so it doesn't clash with system headers when -I is used.

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

1 participant