Skip to content

Compiling with GDC-10.3.0, invalid UTF characters #26

@cpiker

Description

@cpiker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions