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

The const declarations in "include/cpu.h" need to be extern #1

Open
eschaton opened this issue Jun 24, 2016 · 1 comment
Open

The const declarations in "include/cpu.h" need to be extern #1

eschaton opened this issue Jun 24, 2016 · 1 comment

Comments

@eschaton
Copy link

eschaton commented Jun 24, 2016

In order to be correct and to avoid multiple-definition errors from some linkers, declarations like

const char *task_name[task_COUNT];

actually need to be marked extern as well.

@eschaton eschaton changed the title The const declarations in "include/cpu.h” need to be extern The const declarations in "include/cpu.h" need to be extern Jun 24, 2016
@daniilprohorov
Copy link

This really helps to build!

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