You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> using Clang
julia> context = wrap_c.init()
WrapContext(Ptr{Void} @0x00007fb0543a7740,ASCIIString[],"","",ASCIIString[],ASCIIString[],(anonymous function),(anonymous function),(anonymous function),(anonymous function),OrderedDict{Symbol,ExprUnit}(),Set{ASCIIString}({}),DefaultOrderedDict{ASCIIString,Array{Any,N},Function}(),InternalOptions(true,false),0,(anonymous function))
julia> context.common_file="common.jl"
"common.jl"
julia> wrap_c.wrap_c_headers(context, {"define.h"})
WARNING: wrap_c_headers: deprecated
WRAPPING HEADER: define.h
ERROR: ParseError("end of input")
in __parse#7__ at ./string.jl:1242
in __parse#7__ at /Users/arthurb/src/julia/usr/lib/julia/sys.dylib
in parse at /Users/arthurb/src/julia/usr/lib/julia/sys.dylib (repeats 2 times)
in parse at string.jl:1246
in wrap at /Users/arthurb/.julia/v0.4/Clang/src/wrap_c.jl:568
in wrap_header at /Users/arthurb/.julia/v0.4/Clang/src/wrap_c.jl:630
in run at /Users/arthurb/.julia/v0.4/Clang/src/wrap_c.jl:747
in wrap_c_headers at /Users/arthurb/.julia/v0.4/Clang/src/wrap_c.jl:777
all is good though if i simply delete one (either) of those define statements, OR exchange int AND void with numbers:
given define.h with just:
i get the following error:
all is good though if i simply delete one (either) of those define statements, OR exchange
int
ANDvoid
with numbers:is this the expected / desired behavior? this is with clang 0.0.2 and Julia Version 0.4.0-dev+512
Commit 3b2269d* (2014-09-08 14:32 UTC) on OS X.
The text was updated successfully, but these errors were encountered: