Bram Moolenaar wrote:
Chris Sutcliffe wrote:

Hey All,

Patch 7.1a.001
I managed to compile 7.1a from cvs yesterday.  I went and did a cvs up
to grab this patch and I am now getting this error:

gui_w32.c:236: error: redefinition of `struct tagNMTTDISPINFOA'
gui_w32.c:246: error: redefinition of `struct tagNMTTDISPINFOW'
mingw32-make: *** [gobj/gui_w32.o] Error 1

I'm guessing it's not a result of this patch, since this patch did not
affect gui_w32.c.  Perhaps there was something changed in CVS (I
notice the update grabbed a whole bunch of files)?

I don't know what happened.  When I checkout the files from CVS now I
don't see a problem in gui_w32.c.  Was this a temporary problem?

I was able to get it to compile under cygwin using Make_cyg.mak GUI=yes by
removing the two typedefs at line 236 and 247 in gui_w32.c.

It would seem that the pre-processor doesn't recognise labels from a previous
typedef, so the #ifndef LPNMTTDISPINFO test doesn't work as expected.

Or it's something along those lines...

Robert

Reply via email to