Yupei Qi
Yupei Qi
The tricky part is that we need to upgrade both polar (3.2->3.3) and the wrapper generator script, probably CxxWrap as well.
I hit more compilation errors when using the [`graphcore/poplar:3.3.0-ubuntu-20.04-20230703`](https://hub.docker.com/layers/graphcore/poplar/3.3.0-ubuntu-20.04-20230703/images/sha256-53d5a4ea2d7e3c8b31468181a6947773d34f3856d7cf28bbe10cf83ccdf39f08?context=explore) docker image with Julia v1.11. I'm surprised the CI got passed here. [buildlog.txt](https://github.com/user-attachments/files/16649526/buildlog.txt)
oh CI hasn't been upgraded to 1.11
@giordano, I made a debugging setup in this PR to generate wrappers locally without using a docker environment: 0. switch Clang to this PR: https://github.com/JuliaInterop/Clang.jl/pull/506 1. download SDK v3.2 by...
> comparing ③ with ②, they are new types and methods introduced in v3.3, which may cause more compilation errors because some kinds of types are not supported and should...
Does the following vararg version of the text API work on aarch macOS? `@ccall libcimgui.igText("Hello %s %s"::CString; "world"::CString, "!"::CString)::Cvoid`
BTW, `CString` is not mandatory. You can use `Ptr{Cuchar}` instead.
The first , in the ccall macro version should be ;
https://docs.julialang.org/en/v1/manual/calling-c-and-fortran-code/#Mapping-C-Functions-to-Julia
ccall only support a limited version of varadic arguments where each vararg should be of the same type.