E.g. the WindowsAPI bindings have the wingdi.d file, which has this call at the very top of the module:
pragma(lib, "gdi32.lib"); This doesn't seem to put any gdi32.lib symbol references to the final winapi library file, and if I try to use a function from wingdi.d from a main file, I still have to manually link to the gdi32.lib file (or use a pragma), otherwise I get undefined symbol errors. So what are those pragmas for?