DIP 45 - approval discussion

Benjamin Thaut code at benjamin-thaut.de
Sun Nov 10 22:02:57 PST 2013


Am 11.11.2013 05:04, schrieb Walter Bright:
>
>
> The trouble with dllexport and dllimport is the same module is both
> depending on how it is used - I don't think that is very viable (C/C++
> deal with this using macros). The idea is to use export for both, and
> then use the context to figure out if it is dllimport or dllexport.
>

Still, how do you want to stop the compiler from referencing the module 
infos without knowing the module is part of a dll?


More information about the Digitalmars-d mailing list