Bug 15497 – Error: snprintf cannot be interpreted at compile time, because it has no available source code

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2016-01-02T06:59:00Z
Last change time
2016-01-02T09:42:28Z
Assigned to
nobody
Creator
timothee.cour2

Comments

Comment #0 by timothee.cour2 — 2016-01-02T06:59:53Z
Just ran into this again: [enum foo=(0.12).to!string;] fails, cf: http://forum.dlang.org/thread/[email protected] I don't think there was a bugzilla entry for it so i created it. It would be nice to allow [enum foo=(0.12).to!string;] since [enum foo=(0).to!string;] works.
Comment #1 by ag0aep6g — 2016-01-02T09:42:28Z
*** This issue has been marked as a duplicate of issue 8424 ***