Mail Archives: cygwin-developers/2001/04/18/20:01:05
Christopher Faylor wrote:
>
> On Wed, Apr 18, 2001 at 07:45:35PM -0400, Earnie Boyd wrote:
> >Christopher Faylor wrote:
> >>
> >> On Thu, Apr 19, 2001 at 12:52:22AM +0200, Corinna Vinschen wrote:
> >> >The latest change to w32api related to the ANONYMOUS_STRUCT and
> >> >ANONYMOUS_UNION problem breaks applications which doesn't include
> >> ><windows.h> but all needed header files separately. Each of the
> >> >affected files should be able to define that stuff by themselves.
> >> >
> >> >May I suggest creating a new header, say "anon.h", which contains
> >> >that stuff and is included by all affected files? Or, maybe it's
> >> >only at the wrong place and could be moved to, say winnt.h?
> >>
> >> Maybe we need something more generic. Linux has something like
> >> features.h but we obviously can't use that name.
> >>
> >
> >It's a bug in cinstall source. I've sent a patch.
>
> Why is it a bug? It's been working for a year.
>
It's a bug because cinstall is using functions implicitly prototyped by
not using #include <windows.h>.
> You should be able to include individual header files.
>
IIRC, MSDN discourages it.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
- Raw text -