Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created April 18, 2011 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/925560 to your computer and use it in GitHub Desktop.
Save luislavena/925560 to your computer and use it in GitHub Desktop.
C:\Users\Luis\Projects\oss\joyent\liboio>gcc --version
gcc (GCC) 4.7.0 20110405 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\Luis\Projects\oss\joyent\liboio>gcc -I. -c oio-win.c -o oio-win.o
oio-win.c:109:19: warning: declaration does not declare anything [enabled by default]
oio-win.c: In function 'oio_queue_accept':
oio-win.c:464:3: error: 'oio_accept_req' has no member named 'flags'
oio-win.c:465:6: error: 'oio_accept_req' has no member named 'flags'
oio-win.c:466:14: error: 'oio_accept_req' has no member named 'overlapped'
oio-win.c:466:41: error: 'oio_accept_req' has no member named 'overlapped'
oio-win.c:475:27: error: 'oio_accept_req' has no member named 'overlapped'
oio-win.c:487:6: error: 'oio_accept_req' has no member named 'flags'
oio-win.c: In function 'oio_listen':
oio-win.c:519:8: error: 'oio_accept_req' has no member named 'type'
oio-win.c: In function 'oio_connect':
oio-win.c:540:9: warning: passing argument 2 of 'oio_bind' from incompatible pointer type [enabled by default]
oio-win.c:424:5: note: expected 'struct sockaddr *' but argument is of type 'struct sockaddr_in *'
oio-win.c: At top level:
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_INSERT_COLOR' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_INSERT_COLOR' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_REMOVE_COLOR' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_REMOVE_COLOR' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_REMOVE' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_REMOVE' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_INSERT' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_INSERT' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_FIND' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_FIND' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_NFIND' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_NFIND' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_NEXT' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_NEXT' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_PREV' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_PREV' was here
oio-win.c:662:1: error: static declaration of 'oio_timer_s_RB_MINMAX' follows non-static declaration
oio-win.c:121:1: note: previous declaration of 'oio_timer_s_RB_MINMAX' was here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment