Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created April 18, 2011 16:18
Show Gist options
  • Save luislavena/925638 to your computer and use it in GitHub Desktop.
Save luislavena/925638 to your computer and use it in GitHub Desktop.
C:\Users\Luis\Projects\oss\joyent\liboio>gcc --version
gcc (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 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: warning: declaration does not declare anything
oio-win.c: In function `oio_queue_accept':
oio-win.c:464: error: structure has no member named `flags'
oio-win.c:465: error: structure has no member named `flags'
oio-win.c:466: error: structure has no member named `overlapped'
oio-win.c:466: error: structure has no member named `overlapped'
oio-win.c:475: error: structure has no member named `overlapped'
oio-win.c:487: error: structure has no member named `flags'
oio-win.c: In function `oio_listen':
oio-win.c:519: error: structure has no member named `type'
oio-win.c: In function `oio_connect':
oio-win.c:540: warning: passing arg 2 of `oio_bind' from incompatible pointer type
oio-win.c: At top level:
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_INSERT_COLOR' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_INSERT_COLOR' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_REMOVE_COLOR' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_REMOVE_COLOR' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_REMOVE' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_REMOVE' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_INSERT' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_INSERT' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_FIND' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_FIND' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_NFIND' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_NFIND' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_NEXT' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_NEXT' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_PREV' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_PREV' was here
oio-win.c:662: warning: static declaration of 'oio_timer_s_RB_MINMAX' follows non-static declaration
oio-win.c:121: warning: previous declaration of 'oio_timer_s_RB_MINMAX' was here
oio-win.c: In function `oio_poll':
oio-win.c:714: error: `UINT_MAX' undeclared (first use in this function)
oio-win.c:714: error: (Each undeclared identifier is reported only once
oio-win.c:714: error: for each function it appears in.)
oio-win.c:843: error: `SO_UPDATE_CONNECT_CONTEXT' undeclared (first use in this function)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment