Thread overview | |||||
---|---|---|---|---|---|
|
June 05, 2002 command line switch | ||||
---|---|---|---|---|
| ||||
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 Re: command line switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve Adams | 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 Re: command line switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | 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 > |
Copyright © 1999-2021 by the D Language Foundation