Binary literals like “0b101” in C files fail with the error "Error: binary constants not allowed”. These should be allowed in C files as it was standardized for C23, and is supported as an extension already by clang, gcc, tcc and probably others.
Working draft for C23 can be seen here: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3054.pdf
Comment #1 by dlang-bot — 2022-10-13T20:15:12Z
@dkorpel created dlang/dmd pull request #14555 "Fix 23410 - ImportC: binary constants not allowed" fixing this issue:
- Fix 23410 - ImportC: binary constants not allowed
https://github.com/dlang/dmd/pull/14555
Comment #2 by dlang-bot — 2022-10-13T22:24:45Z
dlang/dmd pull request #14555 "Fix 23410 - ImportC: binary constants not allowed" was merged into master:
- 984ec68b799f8eed0aeed75163b58cd0655d27a0 by Dennis Korpel:
Fix 23410 - ImportC: binary constants not allowed
https://github.com/dlang/dmd/pull/14555