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

Support typed nil values #31

Open
dennwc opened this issue Aug 18, 2021 · 0 comments
Open

Support typed nil values #31

dennwc opened this issue Aug 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@dennwc
Copy link
Contributor

dennwc commented Aug 18, 2021

Currently cxgo fails on Nuklear due to the fact that we erase types for nil values:

typedef int ptrdiff_t;
#define NK_ALIGNOF(t) ((char*)(&((struct {char c; t _h;}*)0)->_h) - (char*)0)
int a = NK_ALIGNOF(int);
@dennwc dennwc added the bug Something isn't working label Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant