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

Header definition changes for clang #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbartle
Copy link

@mbartle mbartle commented Jul 18, 2018

When running make check, clang is much fussier about the order of header includes than gcc is. It complains about the use of operator<< in scope/test when both scope/test.h and pair_out.h are included in a couple of test source files. It discovers the use of pair_out.h's operator<< in the test's use of a scope/test function, but scope/test is included before pair_out.h, so it complains that that definition of operator<< is in the wrong place. It seems to be in the family of issues detailed at http://clang.llvm.org/compatibility.html#dep_lookup.

Also, in one file, a std::vector was used without #include <vector>. I don't know how gcc was compiling that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant