Closed MitchellWeg closed 11 months ago
During compilation I get this error:
Unhandle type c"CXType_Int128": __int128.
Unhandle type c"CXType_Int128": __int128
Full output:
ERROR: LoadError: Unhandle type c"CXType_Int128": __int128 Stacktrace: [1] gettype(ctx::Type{CBinding.Context{:c}}, type::CBinding.libclang.var"(c\"CXType\")"; kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:isfunc,), Tuple{Bool}}}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:303 [2] gettype(ctx::Type{CBinding.Context{:c}}, type::CBinding.libclang.var"(c\"CXType\")"; kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:isfunc,), Tuple{Bool}}}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:265 [3] (::CBinding.var"#88#89"{Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DataType, CBinding.libclang.var"(c\"CXType\")"})(ind::Int64) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:290 [4] iterate @ ./generator.jl:47 [inlined] [5] _collect(c::UnitRange{Int64}, itr::Base.Generator{UnitRange{Int64}, CBinding.var"#88#89"{Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DataType, CBinding.libclang.var"(c\"CXType\")"}}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base ./array.jl:744 [6] collect_similar @ ./array.jl:653 [inlined] [7] map @ ./abstractarray.jl:2867 [inlined] [8] gettype(ctx::Type{CBinding.Context{:c}}, type::CBinding.libclang.var"(c\"CXType\")"; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:288 [9] gettype(ctx::Type{CBinding.Context{:c}}, type::CBinding.libclang.var"(c\"CXType\")") @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:225 [10] gettype(ctx::Type{CBinding.Context{:c}}, type::CBinding.libclang.var"(c\"CXType\")"; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:265 [11] gettype @ ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:225 [inlined] [12] #gettype#63 @ ~/.julia/packages/CBinding/PrYH5/src/context.jl:30 [inlined] [13] gettype(ctx::CBinding.Context{:c}, args::CBinding.libclang.var"(c\"CXType\")") @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context.jl:30 [14] (::CBinding.var"#getfields#100"{CBinding.Context{:c}, Vector{Any}, CBinding.libclang.var"(c\"CXType\")"})(kids::Vector{CBinding.libclang.var"c\"CXCursor\""}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:587 [15] getexprs_aggregate(ctx::CBinding.Context{:c}, cursor::CBinding.libclang.var"(c\"CXCursor\")", name::Expr, absname::Expr, jlsym::Nothing, jlabssym::Expr, docs::Markdown.MD, common::Tuple{Expr, Expr}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:601 [16] getexprs_opaque(ctx::CBinding.Context{:c}, cursor::CBinding.libclang.var"(c\"CXCursor\")") @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:487 [17] getexprs(ctx::CBinding.Context{:c}, cursor::CBinding.libclang.var"(c\"CXCursor\")") @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:356 [18] getexprs_tu(ctx::CBinding.Context{:c}, cursor::CBinding.libclang.var"(c\"CXCursor\")") @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context.jl:171 [19] getexprs(ctx::CBinding.Context{:c}, cursor::CBinding.libclang.var"(c\"CXCursor\")") @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:333 [20] getexprs(ctx::CBinding.Context{:c}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context.jl:127 [21] clang_str(mod::Module, loc::LineNumberNode, lang::Symbol, str::String, opts::String) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context.jl:476 [22] var"@c_str"(__source__::LineNumberNode, __module__::Module, exprs::Vararg{Any}) @ CBinding ~/.julia/packages/CBinding/PrYH5/src/context_c.jl:5 [23] top-level scope (repeats 2 times)
Do you have an idea on how to define this var?
filed to the wrong repo.
During compilation I get this error:
Unhandle type c"CXType_Int128": __int128
.Full output:
Do you have an idea on how to define this var?