Re: [PATCH] misc w32api changes

Danny Smith <[email protected]> Tue, 03 Jun 2003 22:56:45 +0100
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <001401c32a1b$080a6b50$8290a7cb@DANNY>
----- Original Message -----
From: "Bart Oldeman" <[email protected]>
To: "mingw-patches" <[email protected]>
Sent: Tuesday, 3 June 2003 16:56
Subject: [MinGW-patches] [PATCH] misc w32api changes


===snip===

>
> I changed DECLARE_HANDLE to typedef because otherwise with STRICT on
(as
> is the default) a lot of older Windows programs are rejected by a
> compiler that is critical about pointer types (these programs use
> int PASCAL WinMain( HANDLE hInstance,
>                     HANDLE hPrevInstance,
>                     LPSTR  lpszCmdParam,
>                     int    nCmdShow )
>


I don't think we should bend the meaning of STRICT just to let old code
compile.
Danny






-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5