Markus Trenkwalder wrote:

>    checked out vim-7.1a.001 today from svn (#263) and tried to compile 
> it with mingw-gcc and got the following error:
> 
> ----8<----
> $ make -f Make_ming.mak
> gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 
> -DHAVE_PATHDEF -DFEAT_BIG -DHAVE_GETTEXT -DHAVE_LOCALE_H 
> -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 
> -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME 
> -DDYNAMIC_ICONV -pipe -w -march=i386 -Wall -O3 -fomit-frame-pointer 
> -freg-struct-return -s gui_w32.c -o gobj/gui_w32.o
> gui_w32.c:236: error: redefinition of `struct tagNMTTDISPINFOA'
> gui_w32.c:246: error: redefinition of `struct tagNMTTDISPINFOW'
> make: *** [gobj/gui_w32.o] Error 1
> ----8<----
> 
> My naive solution to this problem is:
> ----8<----
> --- src/gui_w32.c.000   Mon May  7 08:26:54 2007
> +++ src/gui_w32.c       Mon May  7 07:01:09 2007
> @@ -232,7 +232,7 @@
>       LPARAM     lParam;
>   } NMTTDISPINFO_NEW;
> 
> -#ifndef LPNMTTDISPINFO
> +#if !defined(LPNMTTDISPINFO) && !defined(TOOLTIPTEXTA)
>   typedef struct tagNMTTDISPINFOA {
>       NMHDR      hdr;
>       LPSTR      lpszText;
> ----8<----

What does TOOLTIPTEXTA have to do with this?  I don't understand why you
try to solve it this way.

Someone else also reported this problem while it worked OK earlier.
Perhaps there is something wrong with the way you obtained the sources?

-- 
Proof techniques #2: Proof by Oddity.
        SAMPLE: To prove that horses have an infinite number of legs.
(1) Horses have an even number of legs.
(2) They have two legs in back and fore legs in front.
(3) This makes a total of six legs, which certainly is an odd number of
    legs for a horse.
(4) But the only number that is both odd and even is infinity.
(5) Therefore, horses must have an infinite number of legs.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to