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

Enable CCurl's helpers to be used in more than one module #8

Merged
merged 1 commit into from
Oct 2, 2016

Conversation

shmuelk
Copy link
Contributor

@shmuelk shmuelk commented Oct 2, 2016

An issue with CCurl was reported in http://stackoverflow.com/questions/39797214/error-when-call-curlhelpersetoptstring-from-module-ccurl-swift-kitura/39814732#39814732.

The problem was that the CCurl helpers were defined as extern inline which causes them to become real external symbols in the module they are used.

This PR corrects the problem by changing all use of extern to static.

See issue Kitura/Kitura#783

@vadimeisenbergibm
Copy link

Reviewed - OK to merge.

@shmuelk shmuelk merged commit f1d6750 into master Oct 2, 2016
@shmuelk shmuelk deleted the issue_783 branch October 2, 2016 08:57
@rfdickerson
Copy link
Contributor

Wow! Good to know that static can replace our externs.

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.

None yet

3 participants