-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
cimport.zig: use of undeclared identifier #9774
Copy link
Copy link
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.
I have such zig source file (build file is the stock one, and just adds include path and links C library).
This results in such an error:
The initial lines of this cached translated C file are:
It looks like
Xis actually defined before.This issue doesn't appear if not using
h.make_x()inside@TypeOf.OS: Fedora 34
Zig version: 0.8.0, as shipped with Fedora.