At 03:46 PM 6/29/99 -0400, Mike Hill wrote:
From CVS again. Includes your fix of 1999-06-29, Andy.
Now fails like this:
gcc -c -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include
-Wno-sign-compare -
fno-caller-saves -I/usr/X11R6.3/include event-msw.c
event-msw.c:76: redefinition of `struct tagNMHDR'
event-msw.c:80: warning: redefinition of `NMHDR'
e:\\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\2.7-B19\../../../../i386-cygwi
n32/
Sigh. So cygwinb19 is broken, but only half-broken.
I have a fix I think. Try something like this:
#if defined (__CYGWIN32__) && !defined (CYGWIN_VERSION_DLL_MAJOR)
typedef NMHDR *LPNMHDR;
#endif
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd