Bug 24507 – Do not call preprocessor with normalization checks turned on

Status
NEW
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-04-15T20:31:40Z
Last change time
2024-12-13T19:34:44Z
Keywords
ImportC
Assigned to
No Owner
Creator
Richard (Rikki) Andrew Cattermole
Moved to GitHub: dmd#18232 →

Comments

Comment #0 by alphaglosined — 2024-04-15T20:31:40Z
When ImportC calls the preprocessor, it should not validate against any normalization form. Currently, only GCC does implement this check ``-Wnormalized``. This prevents ImportC from controlling what to do when an identifier is not in normalization form C. Including the prevention of normalization. The tests for ImportC for normalization ``normalize_silent.c`` and ``normalize_error.c`` which I am in the process of adding have to be disabled on platforms that use GCC.
Comment #1 by robert.schadek — 2024-12-13T19:34:44Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18232 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB