Skip to content

Instantly share code, notes, and snippets.

@roder
Created May 22, 2011 01:53
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 roder/985093 to your computer and use it in GitHub Desktop.
Save roder/985093 to your computer and use it in GitHub Desktop.
./rebar compile
==> jiffy (compile)
Compiling c_src/decoder.c
c_src/decoder.c: In function ‘dec_init’:
c_src/decoder.c:76: warning: passing argument 1 of ‘enif_alloc’ makes pointer from integer without a cast
c_src/decoder.c:76: error: too few arguments to function ‘enif_alloc’
c_src/decoder.c: In function ‘dec_destroy’:
c_src/decoder.c:92: warning: passing argument 1 of ‘enif_free’ from incompatible pointer type
c_src/decoder.c:92: error: too few arguments to function ‘enif_free’
c_src/decoder.c: In function ‘dec_push’:
c_src/decoder.c:126: warning: passing argument 1 of ‘enif_alloc’ makes pointer from integer without a cast
c_src/decoder.c:126: error: too few arguments to function ‘enif_alloc’
c_src/decoder.c:128: warning: passing argument 1 of ‘enif_free’ from incompatible pointer type
c_src/decoder.c:128: error: too few arguments to function ‘enif_free’
c_src/decoder.c: In function ‘dec_string’:
c_src/decoder.c:296: warning: implicit declaration of function ‘enif_make_new_binary’
c_src/decoder.c:296: warning: cast to pointer from integer of different size
c_src/decoder.c: In function ‘dec_number’:
c_src/decoder.c:583: warning: implicit declaration of function ‘enif_make_int64’
ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/decoder.c -o c_src/decoder.o failed with error: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment