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

Allow using glog/stl_logging.h with Bazel #291

Merged
merged 2 commits into from
Feb 1, 2018
Merged

Conversation

drigz
Copy link
Member

@drigz drigz commented Jan 31, 2018

Fixes #289.

Copy link

@nate-meta nate-meta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix! Tested locally and worked to fix my issue.

@@ -10,5 +11,9 @@ int main(int argc, char* argv[]) {

LOG(INFO) << "Hello, world!";

// glog/stl_logging.h allows logging STL containers.
std::vector<int> x {1, 2, 3};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not compile in pre C++11 mode. Is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, good point.

@drigz
Copy link
Member Author

drigz commented Feb 1, 2018

Thanks for the review! PTAL?

@sergiud
Copy link
Collaborator

sergiud commented Feb 1, 2018

@drigz LGTM!

@drigz drigz merged commit 55cc27b into google:master Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants