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

Compilation Error in PcapLiveDevice.cpp - Control Reaches End of Non-Void Function #1665

Open
vectorzjl opened this issue Dec 19, 2024 · 0 comments · May be fixed by #1666
Open

Compilation Error in PcapLiveDevice.cpp - Control Reaches End of Non-Void Function #1665

vectorzjl opened this issue Dec 19, 2024 · 0 comments · May be fixed by #1666
Labels

Comments

@vectorzjl
Copy link

Question

I've encountered an issue with the Pcap++ library when I enabled the HAS_SET_DIRECTION_ENABLED option. The error I'm facing is related to control reaching the end of a non-void function, which is flagged as an error due to the -Werror=return-type compiler flag. This error is located in the PcapLiveDevice.cpp file, specifically on line 84

Operating systems

No response

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

Successfully merging a pull request may close this issue.

1 participant