-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.regressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.translate-cC to Zig source translation feature (@cImport)C to Zig source translation feature (@cImport)
Milestone
Description
Among other problems, this causes translate-c warnings to be detected as failures by the build system, such as:
warning: TODO: implement 'visibility' attribute for functions [-Wattribute-todo]
Instead, it should follow a similar code path as CObject.Diag.Bundle.parse
in the clang execution logic. This way, warnings can be ignored when doing translate-c and errors can be integrated properly with other Compilation errors during @cImport
.
This is a follow-up task from #24497.
Metadata
Metadata
Assignees
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.regressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.translate-cC to Zig source translation feature (@cImport)C to Zig source translation feature (@cImport)