Skip to content

Instantly share code, notes, and snippets.

@kiko
Created July 31, 2009 12:23
Show Gist options
  • Save kiko/159203 to your computer and use it in GitHub Desktop.
Save kiko/159203 to your computer and use it in GitHub Desktop.
> rake
(in /home/kiko/projects/testing/abs/subtle-hg/src/subtle-build)
CC build/shared.wm.o
CC build/array.o
CC build/client.o
CC build/display.o
CC build/event.o
CC build/ewmh.o
CC build/grab.o
CC build/panel.o
CC build/ruby.o
cc1: warnings being treated as errors
src/subtle/ruby.c: In function ‘RubySubletColor’:
src/subtle/ruby.c:122: error: implicit declaration of function ‘STR2CSTR’
src/subtle/ruby.c:122: error: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src/subtle/ruby.c:122: error: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src/subtle/ruby.c: In function ‘RubySubletPathSet’:
src/subtle/ruby.c:184: error: assignment makes pointer from integer without a cast
src/subtle/ruby.c: In function ‘RubyGetString’:
src/subtle/ruby.c:236: error: pointer/integer type mismatch in conditional expression
src/subtle/ruby.c: In function ‘RubyConfigForeach’:
src/subtle/ruby.c:342: error: passing argument 1 of ‘strdup’ makes pointer from integer without a cast
/usr/include/string.h:173: note: expected ‘const char *’ but argument is of type ‘int’
src/subtle/ruby.c:396: error: passing argument 1 of ‘subGrabNew’ makes pointer from integer without a cast
src/subtle/subtle.h:529: note: expected ‘const char *’ but argument is of type ‘int’
src/subtle/ruby.c:417: error: passing argument 1 of ‘subTagNew’ makes pointer from integer without a cast
src/subtle/subtle.h:574: note: expected ‘char *’ but argument is of type ‘int’
src/subtle/ruby.c:417: error: passing argument 2 of ‘subTagNew’ makes pointer from integer without a cast
src/subtle/subtle.h:574: note: expected ‘char *’ but argument is of type ‘int’
src/subtle/ruby.c:443: error: passing argument 1 of ‘subTagNew’ makes pointer from integer without a cast
src/subtle/subtle.h:574: note: expected ‘char *’ but argument is of type ‘int’
src/subtle/ruby.c:454: error: passing argument 1 of ‘subViewNew’ makes pointer from integer without a cast
src/subtle/subtle.h:592: note: expected ‘char *’ but argument is of type ‘int’
src/subtle/ruby.c:454: error: passing argument 2 of ‘subViewNew’ makes pointer from integer without a cast
src/subtle/subtle.h:592: note: expected ‘char *’ but argument is of type ‘int’
src/subtle/ruby.c: In function ‘RubySubtleTagAdd’:
src/subtle/ruby.c:650: error: passing argument 1 of ‘subTagNew’ makes pointer from integer without a cast
src/subtle/subtle.h:574: note: expected ‘char *’ but argument is of type ‘int’
src/subtle/ruby.c: In function ‘RubySubtleViewAdd’:
src/subtle/ruby.c:682: error: passing argument 1 of ‘subViewNew’ makes pointer from integer without a cast
src/subtle/subtle.h:592: note: expected ‘char *’ but argument is of type ‘int’
rake aborted!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment