-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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 lambda expression from grpc C++ library and make a fake nullptr #1135
Conversation
Will wait from travis, but basically LGTM. I wonder if there isn't a better way to detect the presence of nullptr tho... |
I think that the best way to detect nullptr would be to actually have a On Wed, Mar 25, 2015 at 3:16 PM Nicolas Noble notifications@github.com
|
Is it possible to add a test to build with some legacy compiler? On Wed, Mar 25, 2015 at 3:33 PM, Vijay Pai notifications@github.com wrote:
|
That would be great; maybe there is a way to do it in Travis? I'm using an outside account that has an old compiler on it for now. |
I'm trying something - travis has that ability, but we can't compile and run the tests, since they're still containing things gcc-4.4 wouldn't like. |
That's correct, we can only run a limited selection of the C++ tests under On Wed, Mar 25, 2015 at 4:27 PM Nicolas Noble notifications@github.com
|
Check vjpai#1 - I've done a pull request on top of that pull request :-) |
Adding a simple 'buildonly' test.
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
I confirm that all your commits are belong to me On Wed, Mar 25, 2015 at 5:44 PM googlebot notifications@github.com wrote:
|
Yeah, yeah, I consent :-) |
Remove lambda expression from grpc C++ library and make a fake nullptr
FYI, clang has a test to check if nullptr is supported using __has_features . For gcc, we can test based on the version # . So, I should add a test in for the clang case also. |
To support older compilers (specifically gcc 4.4-4.5), we need to eliminate lambda expressions and nullptr.