translate-c generates Zig code that does not compile. #4479
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
translate-c
C to Zig source translation feature (@cImport)
Milestone
Consider:
translate-c:
However:
Somewhat confusingly, in VS, the hex value mysteriously gets converted to UL:

I don't know if that is a function of the UI, and what the compiler ends up seeing.
What should translate-c do with C code that will not compile as Zig code?
The text was updated successfully, but these errors were encountered: