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
PS: I've run into the issue while trying out to run with c2m a game made with SDL2. By commenting the lines in wchar.h I was able to run! So this was the only parsing issue.
The text was updated successfully, but these errors were encountered:
Support of wide chars is not implemented yet in the C-to-MIR compiler (neither in preprocessor, nor in in the rest of the compiler). But I have plans to implement full C11 standard w/o optional variable arrays, complex numbers and atomic data (although it might be necessary to implement for my purposes: CRuby JIT).
Currently, wide-chars and full x86-64 call ABI (x86-64 call ABI permits to pass structures partially or fully though registers) are big parts not implemented yet.
It looks like <wchar.h> can be included with no issues nowadays and this issue was more about the inability to parse code that included it, so I'm closing the issue.
With glibc 2.30 (under ArchLinux), the following fails to parse:
Outputs:
The culprit is this odd line
https://github.com/bminor/glibc/blob/glibc-2.30/bits/wchar.h#L35
PS: I've run into the issue while trying out to run with c2m a game made with SDL2. By commenting the lines in
wchar.h
I was able to run! So this was the only parsing issue.The text was updated successfully, but these errors were encountered: