This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DECLARE_CYGWIN_DLL


Untill 1.1.3 I was using the following

#include <cygwin/cygwin_dll.h>
DECLARE_CYGWIN_DLL(DllMain);
int WINAPI DllMain (HANDLE a, DWORD reason, void *q)
{ return 1; }

for building DLLs when compiling Cygwin-Xfree.

For Cygwin 1.1.4 all getting:

junk.c:2: conflicting types for `_cygwin_dll_entry'
junk.c:2: previous declaration of `_cygwin_dll_entry
make: *** [junk.o] Error 1

Line 2 is:

DECLARE_CYGWIN_DLL(DllMain);


I need to get this going today as I have to turn in some patches.
I hope someone, who knows more about DLLs, can respond and help quicker.

Please CC a copy to me of your reply.

Suhaib

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]