DECLARE_CYGWIN_DLL

Earnie Boyd earnie_boyd@yahoo.com
Mon Aug 14 05:25:00 GMT 2000


--- "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



More information about the Cygwin mailing list