You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm not sure where to report this but I think the error is in zig and not in musl.
I currently can't test with glibc but it worked a week ago before I switched to musl.
I can't compile (with the 0.6 and master versions of zig) the following:
When compiling with zig build-exe -lc -I. main.zig I get the following error messages:
zig-cache/o/1QBKyqQD7kLHJlhoCNMXT5wbPCc96MtwERrm4GmtTO75FIB9OM9P-TaGnN0SK1St/cimport.zig:63:5: error: opaque types have unknown size and therefore cannot be directly embedded in structs
bar: struct_timespec,
^
./main.zig:6:27: note: referenced here
const foobar: c.foo = undefined;
The c equivalent of this code compiles fine main.c
#include "crash.h"
int main() {
struct foo foo;
}
The text was updated successfully, but these errors were encountered:
Hello,
I'm not sure where to report this but I think the error is in zig and not in musl.
I currently can't test with glibc but it worked a week ago before I switched to musl.
I can't compile (with the 0.6 and master versions of zig) the following:
main.zig
crash.h
When compiling with
zig build-exe -lc -I. main.zig
I get the following error messages:The c equivalent of this code compiles fine
main.c
The text was updated successfully, but these errors were encountered: