[Issue 19309] New: [Reg 2.080.0] Unicode char reference in a comment causes warning
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 17 03:24:45 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19309
Issue ID: 19309
Summary: [Reg 2.080.0] Unicode char reference in a comment
causes warning
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: llucenic at gmail.com
Having a Unicode character reference, e.g. #x000D, in a comment block in D code
causes compiler warning
> C preprocessor directive `#%s` is not supported
secondarily causing compilation failure when using dub to build such a project.
Based on the instruction from Walter
(https://github.com/dlang/dmd/pull/7820#issuecomment-430420147), I am filling
this bug as a regression of DMD 2.080.0 caused by PR #7820. DMD 2.082.1 has
still got this regression (as of time of this writting).
--
More information about the Digitalmars-d-bugs
mailing list