Redirecting to the vim-dev list...
> What I find interesting is that the #ifndef LPNMTTDISPINFO should have
> caught that LPNMTTDISPINFO was defined in commctrl.h which is included
> in gui_w48.c included prior to the #ifndef LPNMTTDISPINFO test.
As far as I know this is not true because in /usr/include/commctrl.h (or
/include/commctrl.h for mingw) the LPNMTTDISPINFO is a typedef and this
can't be caught by the preprocessor (correct me if I'm wrong).
This may be so, I'm not sure.
> I managed to get it to compile by adding a #ifndef __GNUC__ (which
> should work with both MinGW and Cygwin) guard around lines 235 to 253
> (see the attached patch).
I've tried this for mingw and it works. Maybe this is the better patch
for this problem.
Works for me on MinGW as well (haven't tried Cygwin).
Cheers!
Chris
--
Chris Sutcliffe
http://ir0nh34d.googlepages.com
http://ir0nh34d.blogspot.com
http://emergedesktop.org