Question about Warning when building wine under Cygwin/Mingw/MSYS
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Thu Apr 25 12:11:14 CDT 2002
On Thu, Apr 25, 2002 at 12:53:01PM -0400, Steven Edwards wrote:
> Anyone have any idea what to do about this?
>
> mingw32-gcc -c -I. -I. -I../../include -I../../include -D__MINGW__
> -D_WINDOWS -
> DWINE_NOWINSOCK -Wall -mpreferred-stack-boundary=2 -DSTRICT
> -DNONAMELESSUNION -D
> NONAMELESSSTRUCT -D_REENTRANT -o regedit.o regedit.c
> In file included from ../../include/winnt.h:24,
> from ../../include/windef.h:30,
> from ../../include/windows.h:32,
> from regedit.c:23:
> ../../include/basetsd.h:47: warning: useless keyword or type name in
> empty decla
> ration
> ../../include/basetsd.h:47: warning: empty declaration
>
>
> Basetsd.h has
>
> #ifndef _MSC_VER
> typedef char __int8;
> typedef short __int16;
> typedef int __int32;
> typedef long long __int64;
> #endif /* !defined(_MSC_VER) */
>
> With "typedef long long __int64;" being the problem on line 47.
Could it be that mingw32 simply doesn't understand "long long" ?
(probably the second "long" confuses it into an "empty declaration").
If so, either find the real type name of "long long" that mingw32 uses
(if it exists), or simply #ifdef it out completely.
--
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604 http://home.arcor.de/andi.mohr/
More information about the wine-devel
mailing list