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

2024.05.13.00: error: functions that differ only in their return type cannot be overloaded #2200

Open
yurivict opened this issue May 14, 2024 · 0 comments

Comments

@yurivict
Copy link

Build fails:

/wrkdirs/usr/ports/devel/folly/work/folly-2024.05.13.00/folly/net/NetOps.cpp:38:32: error: functions that differ only in their return type cannot be overloaded
extern "C" FOLLY_ATTR_WEAK int recvmmsg(
                           ~~~ ^
/usr/include/sys/socket.h:700:9: note: previous declaration is here
ssize_t recvmmsg(int, struct mmsghdr * __restrict, size_t, int,
~~~~~~~ ^ 
1 error generated.               

clang-18.1.5
FreeBSD 14.0

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

No branches or pull requests

1 participant