https://issues.dlang.org/show_bug.cgi?id=23410
Issue ID: 23410 Summary: ImportC: binary constants not allowed Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: dave287...@gmail.com 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 --