Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using sn-bindgen 0.1.x with LLVM < 17 causes arcane clang errors #282

Open
keynmol opened this issue Mar 31, 2024 · 1 comment
Open

Using sn-bindgen 0.1.x with LLVM < 17 causes arcane clang errors #282

keynmol opened this issue Mar 31, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@keynmol
Copy link
Contributor

keynmol commented Mar 31, 2024

See

indoorvivants/scala-native-gtk-bindings#13 (comment)

We should find out whether it's possible to detect clang version early (from ClangInfo?) and fail the run with a helpful message

@sideeffffect
Copy link

Hmm, so with LLVM_BIN=/usr/lib/llvm-17/bin, bindgenGenerateScalaSources now fails with

Successfully regenerated binding (Scala) for cairo, 0
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Unexposed, full type: __bf16
[bindgen] warn Unknown type: Kind: Unexposed, full type: __bf16
Successfully regenerated binding (Scala) for harfbuzz, 0
Successfully regenerated binding (Scala) for graphene, 0
Successfully regenerated binding (Scala) for glib, 0
Successfully regenerated binding (Scala) for gobject, 0
Successfully regenerated binding (Scala) for pango, 0
Successfully regenerated binding (Scala) for girepository, 0
Successfully regenerated binding (Scala) for gio, 0
Successfully regenerated binding (Scala) for gdkpixbuf, 0
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Unexposed, full type: __bf16
[bindgen] warn Unknown type: Kind: Unexposed, full type: __bf16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Float16, full type: _Float16
[bindgen] warn Unknown type: Kind: Unexposed, full type: __bf16
[bindgen] warn Unknown type: Kind: Unexposed, full type: __bf16
Successfully regenerated binding (Scala) for gtk, 0
Successfully regenerated binding (Scala) for adwaita, 0

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants