[ros-kernel] redefinition of wint_t Errors

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Mon Aug 23 13:57:25 CEST 2004


James Tabor wrote:
> More oops,
> 
> i386-mingw32-gcc -D__USE_W32API -D_MSVCRT_LIB_ -Wall -Werror 
> -D_DISABLE_TIDENTS -D__USE_W32API -D__REACTOS__ -D_WIN32_IE=0x600 
> -D_WIN32_WINNT=0x501 -DUSE_MSVCRT_PREFIX -D_MT -I. -I../../include 
> -I../../w32api/include -pipe -march=i386 -D_M_IX86 -c wine/heap.c -o 
> wine/heap.o
> In file included from ../../include/msvcrt/mbstring.h:24,
>                  from ../../include/msvcrt/stdlib.h:77,
>                  from ../../include/msvcrt/alloc.h:39,
>                  from ../../include/msvcrt/malloc.h:35,
>                  from wine/heap.c:27:
> ../../include/msvcrt/stddef.h:142: warning: redefinition of `wint_t'
> /usr/lib/gcc-lib/i386-mingw32/3.3.1/include/stddef.h:361: warning: 
> `wint_t' previously declared here
> make[1]: *** [wine/heap.o] Error 1
> make[1]: Leaving directory `/home/ros/reactos/lib/msvcrt'
> make: *** [msvcrt] Error 2
> 
> James


#ifndef wint_t               <------
typedef __WINT_TYPE__ wint_t;       |
#endif                       <---------- add this in the compilers std headers.

Which IMO is a cheesy hax,
James


More information about the Ros-kernel mailing list