www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24471] New: typo https://dlang.org/spec/pragma.html

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 puremagic.com
          Reporter: logicfish 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.

--
Mar 31