Can't compile
fazibear opened this issue · 1 comments
fazibear commented
Trying to compile it, but have errors:
✓ ~/dev/crystal_lib git:master ➜ make
crystal build src/crystal_lib.cr
Error in /Users/fazibear/dev/crystal_lib/src/crystal_lib.cr:55: instantiating 'Clang::Cursor#declaration?()'
puts "#{cursor.declaration?} #{cursor.spelling} #{cursor.kind} #{cursor.type.spelling}" #{cursor.type.canonical_type.spelling} #{cursor.type.kind} #{cursor.type.canonical_type.kind}"
^~~~~~~~~~~~
in /Users/fazibear/dev/crystal_lib/libs/clang/cursor.cr:45: argument #1 of 'LibClang#is_declaration' must be LibClang::CursorKind, not Int32
LibClang.is_declaration(kind) != 0
^~~~
make: *** [crystal_lib] Error 1
✓ ~/dev/crystal_lib git:master ➜ crystal --version
Crystal 0.5.3 [eac061b] (Thu Nov 6 21:50:52 UTC 2014)