Skip to content

Instantly share code, notes, and snippets.

@quinnj
Created November 29, 2013 03:11
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 quinnj/7701099 to your computer and use it in GitHub Desktop.
Save quinnj/7701099 to your computer and use it in GitHub Desktop.
CC src/jltypes.o
In file included from support/libsupport.h:30:0,
from julia.h:8,
from jltypes.c:13:
support/utils.h:33:1: error: unknown type name 'STATIC_INLINE'
STATIC_INLINE u_int16_t ByteSwap16(u_int16_t x)
^
support/utils.h:33:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ByteSwap16'
STATIC_INLINE u_int16_t ByteSwap16(u_int16_t x)
^
support/utils.h:42:1: error: unknown type name 'STATIC_INLINE'
STATIC_INLINE u_int32_t ByteSwap32(u_int32_t x)
^
support/utils.h:42:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ByteSwap32'
STATIC_INLINE u_int32_t ByteSwap32(u_int32_t x)
^
support/utils.h:52:1: error: unknown type name 'STATIC_INLINE'
STATIC_INLINE u_int64_t ByteSwap64(u_int64_t x)
^
support/utils.h:52:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ByteSwap64'
STATIC_INLINE u_int64_t ByteSwap64(u_int64_t x)
^
In file included from support/libsupport.h:36:0,
from julia.h:8,
from jltypes.c:13:
support/bitvector.h:12:1: error: unknown type name 'STATIC_INLINE'
STATIC_INLINE u_int32_t count_bits(u_int32_t b)
^
support/bitvector.h:12:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'count_bits'
STATIC_INLINE u_int32_t count_bits(u_int32_t b)
^
In file included from jltypes.c:13:0:
julia.h:146:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_array_ndimwords(uint32_t ndims)
^
julia.h:579:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_bitstype(void *v)
^
julia.h:587:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_structtype(void *v)
^
julia.h:595:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_isbits(void *t) // corresponding to isbits() in julia
^
julia.h:601:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_abstracttype(void *v)
^
julia.h:606:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_array_type(void *t)
^
julia.h:612:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_array(void *v)
^
julia.h:618:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_box(void *v)
^
julia.h:625:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_cpointer_type(void *t)
^
julia.h:631:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_vararg_type(jl_value_t *v)
^
julia.h:637:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_ntuple_type(jl_value_t *v)
^
julia.h:643:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_nontuple_type(jl_value_t *v)
^
julia.h:650:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_is_type_type(jl_value_t *v)
^
julia.h:1012:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_vinfo_capt(jl_array_t *vi)
^
julia.h:1017:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_vinfo_assigned(jl_array_t *vi)
^
julia.h:1022:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_vinfo_assigned_inner(jl_array_t *vi)
^
julia.h:1027:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
STATIC_INLINE int jl_vinfo_sa(jl_array_t *vi)
^
julia.h:1036:1: error: unknown type name 'STATIC_INLINE'
STATIC_INLINE
^
julia.h:1037:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
jl_value_t *jl_apply(jl_function_t *f, jl_value_t **args, uint32_t nargs)
^
julia.h:1272:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
STATIC_INLINE void jl_eh_restore_state(jl_handler_t *eh)
^
jltypes.c: In function 'jl_is_type':
jltypes.c:69:5: warning: implicit declaration of function 'jl_is_nontuple_type' [-Wimplicit-function-declaration]
return jl_is_nontuple_type(v);
^
jltypes.c: In function 'jl_is_leaf_type':
jltypes.c:123:13: warning: implicit declaration of function 'jl_is_type_type' [-Wimplicit-function-declaration]
if (jl_is_type_type(v)) {
^
jltypes.c: In function 'tuple_intersect_size':
jltypes.c:379:5: warning: implicit declaration of function 'jl_is_vararg_type' [-Wimplicit-function-declaration]
if (jl_is_vararg_type(jl_tupleref(b,bl-1))) {
^
jltypes.c: In function 'jl_type_intersect':
jltypes.c:744:9: warning: implicit declaration of function 'jl_is_ntuple_type' [-Wimplicit-function-declaration]
if (jl_is_ntuple_type(b)) {
^
jltypes.c: In function 'jl_type_intersection_matching':
jltypes.c:1252:5: warning: implicit declaration of function 'jl_eh_restore_state' [-Wimplicit-function-declaration]
JL_TRY {
^
jltypes.c: In function 'cache_type_':
jltypes.c:1590:5: warning: implicit declaration of function 'jl_is_abstracttype' [-Wimplicit-function-declaration]
if (jl_is_abstracttype(type)) {
^
Makefile:52: recipe for target 'jltypes.o' failed
make[2]: *** [jltypes.o] Error 1
Makefile:45: recipe for target 'julia-release' failed
make[1]: *** [julia-release] Error 2
Makefile:34: recipe for target 'release' failed
make: *** [release] Error 2
C:\Users\karbarcca\julia>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment