Should export be stripped by the .di generator?

Adam Wilson flyboynw at
Wed Feb 1 09:58:17 PST 2012

On Tue, 31 Jan 2012 18:15:51 -0800, Martin Nowak <dawg at> wrote:

> On Tue, 31 Jan 2012 20:49:33 +0100, Adam Wilson <flyboynw at>  
> wrote:
>> On Sun, 29 Jan 2012 04:43:58 -0800, Trass3r <un at> wrote:
>>> export on a function declaration means dllimport for exactly that  
>>> purpose (.di files).
>>> It's not mentioned at the attributes doc site but I'm sure I read it  
>>> somewhere else.
>> Walter has said as much in various posts on the NG's here and thats  
>> about as far as the docs for it got. DI files are a bit of a mess  
>> currently and my clean-up patch breaks DMD when building druntime and  
>> phobos. I need Walter's help in figuring out WHY it's breaking, but  
>> getting a hold of him is like trying to catch a ghost!
> Where is the code? I might have a look through it.

My patch is here: git:// For testing you can  
try to build the latest druntime.

Adam Wilson
Project Coordinator
The Horizon Project

More information about the Digitalmars-d mailing list