Re: [PATCH] Issue 1627: Create subversion DLLs on Windows
On 12/30/06, Branko Čibej <firstname.lastname@example.org> wrote:
> I have one question about exporting svn_ctype_table. My linker complains
> that the CONSTANT keyword in the .def file is deprecated, and that DATA
> should be used instead. I don't recall the reason for using CONSTANT
> instead of DATA; I thought that the end result was the same?
No. If you export with DATA you still have to use
__declspec(dllimport) to use the variable (at least that's what
happens with VS2005). CONSTANT allows you to use it directly .
CONSTANT is more dangerous because it doesn't do the pointer
indirection for you, but in our case, that's exactly what we want.
Received on Wed Jan 3 16:14:56 2007
This is an archived mail posted to the Subversion Dev