Closed deric closed 12 years ago
yeah getaddrinfo family doesn't play well with c99 - why do you need it though ?
ps: makefile patches welcome ;)
It has been an issue for a long time:
https://groups.google.com/forum/?fromgroups#!topic/gnu.gcc.help/a88eE4Ga73o https://groups.google.com/forum/?fromgroups#!topic/comp.lang.c/pRuQ2e2FgNY
Oh, I see. Well, it's not really necessary, I though that there would an easy patch for this.
So did I Deric :(
so looks like forcing posix compatibility fixes those errors
-D_POSIX_SOURCE -std=c99
https://groups.google.com/group/gnu.gcc.help/browse_thread/thread/6bcf1e13819aef7a
When compiling with
-std=c99
I get following error: