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

Fix global linkages #383

Merged
merged 1 commit into from
Jun 16, 2022
Merged

Fix global linkages #383

merged 1 commit into from
Jun 16, 2022

Conversation

MasterAler
Copy link
Contributor

Greetings!

First of all, thank you for your library, it's awesome and useful.
But here's a tiny fix I dare to propose: as soon some of the headers contain definitions without static specified, could you add it to them?
Currenlty those definitions have global linkage, which means that in certain cases someone is likely to get "multiple definitions" error, I can provide you a MCVE of that here or in a separate issue if you like.

The fix is small and should not affect performance, tests pass fine.

@yurymalkov , what'd you say?

@yurymalkov
Copy link
Member

Hi @MasterAler,

Thanks! Yeah, I do not think it might cause any problem. Will merge in a few days.

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

Successfully merging this pull request may close these issues.

2 participants