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

cqueues.h: correctly declare a variable #233

Merged
merged 1 commit into from
Jun 3, 2020
Merged

Conversation

vcunat
Copy link
Contributor

@vcunat vcunat commented Feb 5, 2020

Otherwise it gets a definition in every *.c file it gets included into.

I'm not sure why these errors never caused problems (AFAIK) until recent Fedora Rawhide.
https://kojipkgs.fedoraproject.org//work/tasks/420/41320420/build.log

Otherwise it gets a definition in every *.c file it gets included into.
I'm not sure why these errors never caused problems (AFAIK) until
recent Fedora Rawhide.
https://kojipkgs.fedoraproject.org//work/tasks/420/41320420/build.log
@vcunat
Copy link
Contributor Author

vcunat commented Feb 5, 2020

On a different distro using gcc10 isn't sufficient to trigger this error (or even a warning), so the practical consequences of missing extern clearly aren't as simple as I originally thought.

@vcunat
Copy link
Contributor Author

vcunat commented Mar 24, 2020

ping @wahern

@vcunat
Copy link
Contributor Author

vcunat commented Mar 24, 2020

I meant, ping @daurnimator :-)

@daurnimator
Copy link
Collaborator

I think this is correct but I'm not 100% sure. Would love for you @wahern to confirm...

@daurnimator daurnimator mentioned this pull request Jun 3, 2020
@daurnimator daurnimator merged commit b29261d into wahern:master Jun 3, 2020
@vcunat vcunat deleted the p/gcc10 branch June 3, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants