[Issue 1663] New: pragma(lib, "") don't work on linux

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 13 02:07:08 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1663

           Summary: pragma(lib, "") don't work on linux
           Product: D
           Version: 1.023
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: larsivar at igesund.net


pragma (lib, "") doesn't work on linux.

I would expect for instance

pragma (lib, "dl") to make libdl be linked in, aka -ldl

There is nothing in the docs about this not working on Linux. I also think it
is a silly feature to have as optional for implementations.


-- 



More information about the Digitalmars-d-bugs mailing list