[Issue 24471] New: typo https://dlang.org/spec/pragma.html

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 31 12:11:01 UTC 2024


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

          Issue ID: 24471
           Summary: typo https://dlang.org/spec/pragma.html
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Other
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: logicfish at gmail.com

https://dlang.org/spec/pragma.html


pragma lib
There must be one AssignExpression and it must evaluate at compile time to a
string literal.

pragma(lib, "foo.lib");
Implementation Defined: The string literal specifies the file name of a library
file. This name is inserted into the generated object file, or otherwise passed
to the linker, so the linker automatically links in that library.

pragma linkerDirective
There must be one AssignExpression and it must evaluate at compile time to a
string literal.

--


More information about the Digitalmars-d-bugs mailing list