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

Fixes for newer versions of Clang #1390

Merged
merged 2 commits into from Jul 12, 2017

Conversation

rdwampler
Copy link
Contributor

This gets TextMate to compile with newer versions of Clang with c++1z; but it crashes at runtime. The crashes look like lifetime issues and only occur when compiling with -std=c++1z and not -std=c++14. I will send the crash reports via the mailing list.

… (C++17)

C++17 added a non-const overload for std::string::data().
Starting in Clang 5, lookup with nested-class names is stricter (e.g., A::A now specifically refers to the constructor name).
@jakecast
Copy link
Contributor

ah, thats a handy fix.. -std=c++14 got mine to compile under 10.13 w/ Xcode 9

@sorbits sorbits merged commit c0fb320 into textmate:master Jul 12, 2017
@rdwampler rdwampler deleted the rw/new-clang-fixes branch October 3, 2017 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants