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

Remove default argument of friend function to compile on Mac OS #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

qsphan
Copy link

@qsphan qsphan commented Sep 30, 2015

There is an error when compiling Omega on Mac due to the default argument on the function:
friend Conjunct* merge_conjs((Conjunct* conj1, Conjunct* conj2, Merge_Action action, Rel_Body *body = 0);

More details about the error can be found here:
http://stackoverflow.com/questions/22533511/friend-declaration-specifying-a-default-argument-must-be-a-definition

I removed the default argument of the function merge_conjs, and pass the argument explicitly wherever it is invoked.

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.

2 participants