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

Add missing #include <ostream> #2616

Merged
merged 2 commits into from
Mar 25, 2019
Merged

Add missing #include <ostream> #2616

merged 2 commits into from
Mar 25, 2019

Conversation

wilhuff
Copy link
Contributor

@wilhuff wilhuff commented Mar 24, 2019

I discovered that when archiving a build you end up with undefined symbols if you only #include <iosfwd>.

This adds a IWYU check and fixes the cases I already broke.

scripts/cpplint.py Show resolved Hide resolved
@rsgowman rsgowman assigned wilhuff and unassigned rsgowman Mar 25, 2019
@wilhuff wilhuff merged commit 675e74a into master Mar 25, 2019
@wilhuff wilhuff deleted the wilhuff/ostream branch March 25, 2019 18:12
Corrob pushed a commit that referenced this pull request Apr 25, 2019
* Add a lint check for ostream

* Actaully #include <ostream> to undefined stream insertion operators at link time
@firebase firebase locked and limited conversation to collaborators Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants