[Issue 24507] New: Do not call preprocessor with normalization checks turned on

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 15 20:31:40 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24507

          Issue ID: 24507
           Summary: Do not call preprocessor with normalization checks
                    turned on
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: alphaglosined at gmail.com

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.

--


More information about the Digitalmars-d-bugs mailing list