-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Syntax error in generated code inside zig-cache (translate-c?) #2043
Copy link
Copy link
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.translate-cC to Zig source translation feature (@cImport)C to Zig source translation feature (@cImport)
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.translate-cC to Zig source translation feature (@cImport)C to Zig source translation feature (@cImport)
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm trying to get my project working with the zig changes from the last day or two and ran into an error. Here is a branch where this error is happening: https://github.com/dbandstra/oxid/commits/not-working
I'm on Ubuntu right now.
Here's a paste of the relevant part of that file. I marked the bad line with a comment.
P.S. Zig syntax highlighting in github! Nice!
edit: here's the c code from SDL_stdinc.h: