www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19142] New: ddoc inline code see # as a warning

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

          Issue ID: 19142

           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ali.akhtarzada gmail.com

import std.stdio;

/**
-----



-----
*/

void main()
{
    writeln("Hello D");
}

Produces

➜ dmd -Dddocs -w code.d
(1): Warning: C preprocessor directive #run is not supported
(2): Warning: C preprocessor directive #run is not supported
(3): Warning: C preprocessor directive #list is not supported

--
Aug 05 2018