www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17122] New: Compiling trivial program yields deprecation

https://issues.dlang.org/show_bug.cgi?id=17122

          Issue ID: 17122
           Summary: Compiling trivial program yields deprecation warnings
                    from std.typecons
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: Mihail.K fimu.tk

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

--
Jan 25 2017