qt patch for winnt.h

Ralf Habacker Ralf.Habacker@freenet.de
Fri Jul 26 01:15:00 GMT 2002


> What I don't like is the precedent.  Featuritis is catching.
>
> > I'm sure that Danny will comment on this.  He's probably doing something
> > selfish like sleeping or eating breakfast right now.
>
> And typing on a keyboard -- all at the same time.
>
> I do not like this patch, because it means more work for me when YA typedef
> conflict arises and someone else submits a patch (followed by YA long-winded
> discussion) to fix that one, and that one breaks someone else's idea of what
> the typedef should be and ...
>
> The "standard" for the w32api is MSDN docs. Why can't projects that use the
> w32api follow those standards?

trolltech, who has written this framework, follows the standard, if qt is
compiled as pure win 32app.
That they use uint HANDLE on X11 system may have historical reasons, I don't
know, but fact is we have currently this problem.

>
> Now I'd better unlock the garage and let the kids out.
>
> Danny
>
> > >I'm not sure, how this would look in real code, do you have an example ?
> >
> > #define HANDLE foo_handle
> > #include <winnt.h>
> > #undef HANDLE
> >
> >
> > cgf
>
>
> http://digital.yahoo.com.au - Yahoo! Digital How To
> - Get the best out of your PC!
>



More information about the Cygwin-patches mailing list