Bug 17122 – Compiling trivial program yields deprecation warnings from std.typecons
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2017-01-25T21:38:00Z
Last change time
2017-07-02T01:13:50Z
Assigned to
nobody
Creator
Mihail.K
Comments
Comment #0 by Mihail.K — 2017-01-25T21:38:46Z
Compiling any program produces the following deprecation message (often more than once):
/Library/D/dmd/src/phobos/std/typecons.d(6876): Deprecation: Implicit string concatenation is deprecated, use "Function types not supported," ~ " use a function pointer type instead of " instead
Minimal program to reproduce issue:
import std.stdio;
void main()
{
writeln("foo");
}
DMD Versions:
DMD64 D Compiler v2.072.2,
DMD64 D Compiler v2.074.0
Platform:
Mac OS 10.11.6
Comment #1 by dlang-bugzilla — 2017-07-02T01:13:50Z