[Issue 2776] pragma(lib, does not work when used in headers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 1 06:23:16 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2776
------- Comment #1 from benoit at tionex.de 2009-04-01 08:23 -------
In DMD sources, the addition to the linker of the pragma(lib,..) happens in
attrib.c: PragmaDeclaration::toObjFile
which like the name implies while object file generation. This is not happening
for headers. So I think the solution should be to move this to the semantic()
method.
--
More information about the Digitalmars-d-bugs
mailing list