Thread overview
command line switch
Jun 05, 2002
Steve Adams
Jun 05, 2002
Jan Knepper
Jun 05, 2002
Steve Adams
June 05, 2002
What is the command line switch that will allow forms like

typedef struct foo { ...... } foo;

for things that are in winsock2.h



June 05, 2002
What do you mean?
That should work just as is AFAIK.



Steve Adams wrote:

> What is the command line switch that will allow forms like
>
> typedef struct foo { ...... } foo;
>
> for things that are in winsock2.h

June 05, 2002
Turns out it was an include order problem.  I had already included windows.h which included winsock2.h.  A second include of winsock2.h was causing the problem.


"Jan Knepper" <jan@smartsoft.cc> wrote in message news:3CFE664C.785F9ADA@smartsoft.cc...
> What do you mean?
> That should work just as is AFAIK.
>
>
>
> Steve Adams wrote:
>
> > What is the command line switch that will allow forms like
> >
> > typedef struct foo { ...... } foo;
> >
> > for things that are in winsock2.h
>