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

Conflict when including netinet/if_ether.h before of13match.hh #12

Open
fabiomargarido opened this issue Sep 1, 2015 · 0 comments
Open

Comments

@fabiomargarido
Copy link

On Linux (x86_64, kernel 3.19), the header file netinet/if_ether.h defines a macro arp_op. When this file is included before of13match.hh, the macro conflicts with the definition of ARPOp *arp_op(); in the libfluid header, causing the following compilation error:

/usr/local/include/fluid/of13/of13match.hh:1277:12: error: expected ‘;’ at end of member declaration
     ARPOp* arp_op();
            ^
/usr/local/include/fluid/of13/of13match.hh:1277:12: error: expected unqualified-id before ‘.’ token
     ARPOp* arp_op();
            ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant