uisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Uisp-dev] Error building under Cygwin: non-scalar type


From: Theodore A. Roth
Subject: RE: [Uisp-dev] Error building under Cygwin: non-scalar type
Date: Tue, 7 Oct 2003 10:04:59 -0700 (PDT)


On Tue, 7 Oct 2003, E.Weddington wrote:

> > Here's what it looks like on my system
> (in /usr/include/w32api/winnt.h):
> >
> > typedef union _LARGE_INTEGER {
> >   struct {
> >     DWORD LowPart;
> >     LONG  HighPart;
> >   } u;
> > #if ! defined(NONAMELESSUNION) || defined(__cplusplus)
> >   _ANONYMOUS_STRUCT struct {
> >     DWORD LowPart;
> >     LONG  HighPart;
> >   };
> > #endif /* NONAMELESSUNION */
> >   LONGLONG QuadPart;
> > } LARGE_INTEGER, *PLARGE_INTEGER;
> >
> > Dean
> >
>
>
> Hmm. This is what I have:
>
> typedef union _LARGE_INTEGER {
>   struct {
>     DWORD LowPart;
>     LONG  HighPart;
>   } u;
> #if ! defined(NONAMELESSUNION) || defined(__cplusplus)
>   _ANONYMOUS_STRUCT struct {
>     DWORD LowPart;
>     LONG  HighPart;
>   };
> #endif /* NONAMELESSUNION */
>   LONGLONG QuadPart;
> } LARGE_INTEGER, *PLARGE_INTEGER;
>
>
> Which looks the same to me.

I have a feeling the problem is with the use of gcc-3.2 vs. gcc-3.3. I
vaguely remember hearing that gcc-3.3 is a bit more strict when it
comes to types and will complain about things that 'used to work'.

Ted Roth




reply via email to

[Prev in Thread] Current Thread [Next in Thread]