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

Fix circular dep in includes #688

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

antoninbas
Copy link
Member

No description provided.

@antoninbas antoninbas requested a review from hanw May 31, 2017 18:06
@antoninbas
Copy link
Member Author

@teverman FYI

Copy link
Contributor

@teverman teverman left a comment

Choose a reason for hiding this comment

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

Once I fixed this, I also found that bmv2/header.h needs to include backend.h

@antoninbas
Copy link
Member Author

@teverman I updated my commit to add a fwd declaration for Backend and move the constructor to the cpp file. What I'm worried about is that I don't seem to be catching these errors when I run my "non-unified" build

@sethfowler
Copy link
Contributor

Not sure why you wouldn't...

@antoninbas
Copy link
Member Author

can I get an approve for this?

Copy link
Contributor

@sethfowler sethfowler left a comment

Choose a reason for hiding this comment

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

Sure.

@antoninbas antoninbas merged commit fc2837a into p4lang:master Jun 1, 2017
@antoninbas antoninbas deleted the fix-non-unified-build branch June 1, 2017 02:05
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.

3 participants