-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove legacy support for Xcode + libstdc++ #999
Conversation
#endif | ||
// various compiler targets. | ||
|
||
#define STL11_ALLOWED 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
STL11_ALLOWED seems unnecessary any more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that was done out of caution given existing projects could rely on it. In platform, I removed one use of it in FileSystemUtil.cpp only recently.
Nonetheless, we probably shouldn't have users relying on it. I just checked and neither leapipc nor LeapHTTP use it, so I've gone ahead and removed here.
It looks good except for unnecessary STL11_ALLOWED define. |
Good to move on. |
We soon need to update autowiring to support Xcode 8. In the meantime, remove legacy unsupported configurations such as the libstdc++ build.
Removing the
_LIBCPP_VERSION
leads to implyingSTL11_ALLOWED
for all of MSVC/clang/gcc and simplifies much of this header.I tried to leave support for older versions of gcc intact, although I suspect we're not testing those paths either.