Bug 18475 – std.net.curl.mailTo() calls tempCString without importing

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-20T17:56:03Z
Last change time
2018-02-20T18:03:28Z
Assigned to
No Owner
Creator
Jesse Phillips

Comments

Comment #0 by Jesse.K.Phillips+D — 2018-02-20T17:56:03Z
The mailTo function template calls out to the std.internal.cstring : tempCString() function without importing it first causing the below compiler error in 2.078.3 src\phobos\std\net\curl.d(4058,44): Error: no property 'tempCString' for type...
Comment #1 by greensunny12 — 2018-02-20T18:03:28Z
This has already been fixed: https://issues.dlang.org/show_bug.cgi?id=18316 However, it seems like the fix wasn't targeted at stable, but it's already present in dmd-beta (aka 2.079). While obviously it wasn't ideal that the PR targeted master and not stable, there's not much we can do about it now and at least 2.079 will be released in 8 days.