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

socklen_t redefined (twautoconf.h & /Tw/autoconf.h) on FreeBSD #57

Closed
c64skin opened this issue Jan 13, 2020 · 3 comments
Closed

socklen_t redefined (twautoconf.h & /Tw/autoconf.h) on FreeBSD #57

c64skin opened this issue Jan 13, 2020 · 3 comments

Comments

@c64skin
Copy link

c64skin commented Jan 13, 2020

/usr/include/sys/socket.h:73:21: error: cannot combine with previous 'type-name' declaration specifier
typedef __socklen_t socklen_t;
^
../../include/twautoconf.h:666:19: note: expanded from macro 'socklen_t'
#define socklen_t int
..
...
/usr/include/sys/socket.h:73:21: error: cannot combine with previous 'type-name' declaration specifier
typedef __socklen_t socklen_t;
^
../include/Tw/autoconf.h:666:19: note: expanded from macro 'socklen_t'

@cosmos72
Copy link
Owner

thanks, I will fix it ASAP

@ksonney
Copy link

ksonney commented Jan 18, 2020

FWIW, this impacts MacOS Catalina with recent versions of XCode as well.

@cosmos72
Copy link
Owner

fixed in commit 0fcf815.
It should also fix compiling on Mac OS X

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

3 participants