Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling with GDC-10.3.0, invalid UTF characters #26

Open
cpiker opened this issue Sep 13, 2021 · 0 comments
Open

Compiling with GDC-10.3.0, invalid UTF characters #26

cpiker opened this issue Sep 13, 2021 · 0 comments

Comments

@cpiker
Copy link

cpiker commented Sep 13, 2021

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 cpiker changed the title Compiling with GDC-10.3.0, invalid UTF character issue Compiling with GDC-10.3.0, invalid UTF characters Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant