Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo https://dlang.org/spec/pragma.html #4139

Open
dlangBugzillaToGithub opened this issue Mar 31, 2024 · 1 comment
Open

typo https://dlang.org/spec/pragma.html #4139

dlangBugzillaToGithub opened this issue Mar 31, 2024 · 1 comment

Comments

@dlangBugzillaToGithub
Copy link

M Fisher reported this on 2024-03-31T12:11:01Z

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

CC List

  • Dennis

Description

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.
@dlangBugzillaToGithub
Copy link
Author

dkorpel commented on 2024-03-31T16:11:46Z

What's the typo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant