Export ?

deadalnix deadalnix at gmail.com
Wed Apr 11 02:47:32 PDT 2012


Le 10/04/2012 20:00, Kapps a écrit :
> On Tuesday, 10 April 2012 at 17:44:54 UTC, Jonathan M Davis wrote:
>>
>> As I said in the other thread, I _hate_ export. It's one of Windows
>> largest
>> misfeatures IMHO. It drives me nuts when I have to deal with it in
>> C++. The
>> fact that Linux exports everything is _fantastic_. It's so much easier
>> to deal
>> with. I'd _hate_ to see Linux or anything we do move in the direction
>> of what
>> Windows has done.
>>
>> - Jonathan M Davis
>
> Agreed. Ideally, there would be a compiler flag to export all public
> symbols by default. Public is there for a reason, public is default for
> a reason. Now forcing a bunch of clutter just to add expor to
> everything, would defeat the purpose and is the single largest reason I
> don't use DLLs.

Note that this is easy to perform without compiler flag, with an « export: »


More information about the Digitalmars-d mailing list