-
Notifications
You must be signed in to change notification settings - Fork 103
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
cannot build with clang++ #64
Comments
@roblatham00 The problem with Clang is that class GarbageNode is private to all classes that is not a friend of class BwTreeBase, and in the meantime it is accessible by classes defined in class BwTreeBase. This is just like a class's member functions could access its private members, but other non-friend classes could not. Explicitly declaring class GarbageNode in class BwTreeBase as public could solve the problem. |
I had the same issue. Not only A possible quick-and-dirty fix (
|
Trying to compile BwTree with clang++, I get these warnings that don't make a lot of sense to me:
those declarations look public to me, and trying to mimic your class structure with a small test case did not cause any problems. I clearly oversimplified...
The text was updated successfully, but these errors were encountered: