Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Conversation

@Vexu
Copy link
Member

@Vexu Vexu commented Nov 24, 2025

Actually closes #224

Note that these types are properly supported by Aro there won't be typedefs for them.

@steeve
Copy link
Contributor

steeve commented Nov 24, 2025

Actually, those types did not exist until C23, which creates problem when using the clang headers because they are redefined.
Perhaps they should only be defined if -std=c23 ?

@Vexu
Copy link
Member Author

Vexu commented Nov 24, 2025

What header? Only one I'm seeing used is _Float16 but that's because Clang actually supports it.

@steeve
Copy link
Contributor

steeve commented Nov 24, 2025

When using the defines from clang, I ran into this typedef: https://github.com/bminor/glibc/blob/3c03baca37fdcb52c3881e653ca392bba7a99c2b/bits/floatn-common.h#L199

I'll double check and provide a repro

@Vexu Vexu merged commit 8e1ff20 into main Nov 26, 2025
3 checks passed
@Vexu Vexu deleted the float branch November 26, 2025 19:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: @cImport stdlib.h missing _Float64 type in 0.16.0-dev.1262+be4eaed7c

2 participants