This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: DECLARE_CYGWIN_DLL
- To: "Suhaib M. Siddiqi" <ssiddiqi at inspirepharm dot com>, cygwin at sources dot redhat dot com
- Subject: Re: DECLARE_CYGWIN_DLL
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Mon, 14 Aug 2000 05:25:31 -0700 (PDT)
--- "Suhaib M. Siddiqi" <ssiddiqi@inspirepharm.com> wrote:
> 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
>
Chris posted a patch to the libcygwin.a file soon after the 1.1.4 release.
Check the archives. ;)
Cheers,
=====
---
Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
__Cygwin: POSIX on Windows__
Cygwin Newbies: <http://gw32.freeyellow.com/>
__Minimalist GNU for Windows__
Mingw32 List: <http://www.egroups.com/group/mingw32/>
Mingw Home: <http://www.mingw.org/>
__________________________________________________
Do You Yahoo!?
Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com