dxml icon indicating copy to clipboard operation
dxml copied to clipboard

Compiling with GDC-10.3.0, invalid UTF characters

Open cpiker opened this issue 3 years ago • 0 comments

When using dmxl (current master version from git) in a project compiled via GDC version 10.3.0, I get the following compile time errors. Paths have been shortened.

source/parser.d:6285:35: error: invalid UTF character \Ufffe
 6285 |             testFail!(func, toer)("'\uFFFE'", 1, 2);
      |                                   ^
source/parser.d:6623:44: error: invalid UTF character \Ufffe
 6623 |                 testFail!(func, arc, toer)("\uFFFE", 1, 1);
      |                                            ^
source/writer.d:2495:33: error: invalid UTF character \Ufffe
 2495 |             testFail!(func, ct)("\uFFFE");``

These errors do not occur when building via dmd v2.092.0.

This is not a blocking bug for me, since I can use dmd for now, though I tend to use gdc when generating debug builds. Please excuse the issue report if this is actually a gdc bug instead.

Thanks for writing dxml, it's data pull mentality is quite useful for my current project. I've been using it with large memory mapped files, and under dmd at least, it's worked without any noticeable issues so far.

cpiker avatar Sep 13 '21 02:09 cpiker