www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24507] New: Do not call preprocessor with normalization

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 puremagic.com
          Reporter: alphaglosined 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.

--
Apr 15