[Issue 19142] New: ddoc inline code see # as a warning

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 5 22:54:17 UTC 2018


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

          Issue ID: 19142
           Summary: ddoc inline code see # as a warning
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ali.akhtarzada at gmail.com

import std.stdio;

/**
-----
rdmd -unittest ut.d # run all tests
rdmd -unittest ut.d tests.foo tests.bar # run all tests from these packages
rdmd ut.d -h # list command-line options
-----
*/

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

--


More information about the Digitalmars-d-bugs mailing list