Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zflecs: Dependency loop compile error #282

Open
foxnne opened this issue Apr 17, 2023 · 5 comments
Open

zflecs: Dependency loop compile error #282

foxnne opened this issue Apr 17, 2023 · 5 comments

Comments

@foxnne
Copy link
Contributor

foxnne commented Apr 17, 2023

pub const iter_action_t = *const fn (it: *iter_t) callconv(.C) void;
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
    iter_t: src/deps/zig-gamedev/zflecs/src/zflecs.zig:472:27
    iter_next_action_t: src/deps/zig-gamedev/zflecs/src/zflecs.zig:82:48
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

Zig 0.11.0-dev.2571+31738de28

michal-z added a commit that referenced this issue Apr 17, 2023
@michal-z
Copy link
Collaborator

Could you try the latest code?

@foxnne
Copy link
Contributor Author

foxnne commented Apr 17, 2023

That workaround gets me back working again, thanks!

@hazeycode
Copy link
Member

This seems to be fixed now (using Zig 0.12.0-dev.1871+e426ae43a). Can you confirm that it's working for you without the workaround?

@foxnne
Copy link
Contributor Author

foxnne commented Jan 9, 2024

This seems to be fixed now (using Zig 0.12.0-dev.1871+e426ae43a). Can you confirm that it's working for you without the workaround?

I'm a bit blocked by mach at the moment to update to that version, but as soon as I can test I will confirm. Thanks!

@hazeycode hazeycode added bug Something isn't working and removed bug Something isn't working labels Jan 10, 2024
@hazeycode
Copy link
Member

hazeycode commented Apr 29, 2024

I didn't read the Zig version you posted properly and assumed the bug was fixed as with #371. This is still a bug. Upstream issue: ziglang/zig#16932

@hazeycode hazeycode reopened this Apr 29, 2024
Pyrolistical pushed a commit to Pyrolistical/zig-gamedev that referenced this issue Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants