Why do the WindowsAPI bindings have pragma calls?

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Apr 8 12:18:45 PDT 2011


Ok so if I compile the Winapi .d modules with my main file, the pragma
statement is taken into account and I don't have to manually add the
pragma again.

But If I use an import switch (dmd -Iwin32\) and a precompiled
library, then the pragma statement is skipped. Could this be
considered a bug?


More information about the Digitalmars-d-learn mailing list