[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] non static libs on windows (dll)

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-03-21 19:21:36 CET

cmpilato@collab.net wrote:
> "SteveKing" <steveking@gmx.ch> writes:
>
>>> 1) Use __cdecl and DEF files. The advantages are that it doesn't
>>> require any modifications to the source, that it might lead to
>>> slightly faster load times if ordinals are specified, and that
>>> __cdecl is the default calling convention for C and C++, so
>>> programmers wouldn't have to specify it explicity or wonder which
>>> convention to use.
>>
>> That would require extra work. And I think that would lead to
>> problems whenever the DEF file doesn't match the __cdecl in the
>> source. Or can
>> you guarantee that those are always in sync?
>
> I am nearly -1 on DEF files. Unnecessary maintainance burden.

I don't see how DEF files are a maintenance burden. It's no more work put
add a function to a DEF file than it is to add SVN_DECLARE to a source file.
It's not like the DEF files will be able to go out of date with nobody
noticing. If anything is wrong with the DEF files, there will be link
errors.

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 21 19:22:00 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.