DIP 45 - approval discussion

Walter Bright newshound2 at digitalmars.com
Thu Nov 14 23:27:30 PST 2013


On 11/14/2013 3:37 AM, Benjamin Thaut wrote:
> Am 14.11.2013 11:28, schrieb Walter Bright:
>> On 11/12/2013 2:23 PM, Martin Nowak wrote:
>>
>> One possibility is modules listed on the command line are regarded as
>> export==dllexport, and other modules as export==dllimport.
>>
>> This of course means that functions may wind up going through the
>> dllimport indirection even for calling functions in the same dll, but it
>> should work.
>
> That doesns't work for the case where a dll "A" uses a dll "B".
> In that case export has to mean "dllexport" for all modules of A but "dllimport"
> for all modules of B.

I don't follow. If you're compiling A, you're specifying A modules on the 
command line, and those will regard the B modules as dllimport.



More information about the Digitalmars-d mailing list