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 build issues with clang6. #2794

Closed
wants to merge 1 commit into from
Closed

Fix build issues with clang6. #2794

wants to merge 1 commit into from

Conversation

yurivict
Copy link

Submitted by Thomas Mueller thmu7@freenet.de in the FreeBSD bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228289

Submitted by Thomas Mueller <thmu7@freenet.de> in the FreeBSD bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228289
@kevinushey
Copy link
Contributor

LGTM; I'll let @jmcphers take a final look and merge if all looks well.

@yurivict
Copy link
Author

Please test it with clang5 and clang6 before merging.
This patch came from one user. I tried it, and couldn't succeed to build with clang5, it only worked with clang6.

It is possibly related to #2289
This patch here fixes 2289 but breaks clang5.

Somebody innately familiar with the rstudio code should test and fix both issues.

@jmcphers
Copy link
Member

This change breaks most of our builds, with the same error named in the FreeBSD bug report (re: clang5 compilation).

@kevinushey
Copy link
Contributor

Those attempts to assign NULL / nullptr should likely just be calls to the .clear() method.

@yurivict
Copy link
Author

Could you alter the patch and fix these clang5/clang6 build issues?
I don't have capacity right now to modify this PR.

@jmcphers
Copy link
Member

Superceded by #2807.

@jmcphers jmcphers closed this May 17, 2018
@dfalty dfalty added the verified label Nov 5, 2018
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

4 participants