Skip to content

Instantly share code, notes, and snippets.

@angad
Created October 16, 2013 23:32
Show Gist options
  • Save angad/7016812 to your computer and use it in GitHub Desktop.
Save angad/7016812 to your computer and use it in GitHub Desktop.
gcc-4.2 -O2 -ggdb3 -DNDEBUG -Wall -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fno-stack-protector -march=core2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c -MD -o heap.o heap.c
In file included from heap.c:6:
intern.h:231: error: expected declaration specifiers or ‘...’ before ‘fd_set’
intern.h:231: error: expected declaration specifiers or ‘...’ before ‘fd_set’
intern.h:231: error: expected declaration specifiers or ‘...’ before ‘fd_set’
intern.h:492: warning: parameter names (without types) in function declaration
In file included from ruby.h:702,
from heap.c:8:
intern.h:231: error: conflicting types for ‘rb_thread_select’
intern.h:231: error: previous declaration of ‘rb_thread_select’ was here
make: *** [heap.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment