RE: w32api-2.4-20060330-konrad.schwarz-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org/1
"Schwarz, Konrad" <[email protected]> Tue, 4 Apr 2006 09:56:41 +0200
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <ECDC9C7BC7809340842C0E7FCF48C393EFCBB3@MCHP7IEA.ww002.siemens.net> |
This message was originally rejected because I was not a member of the mailing list, so here it is again.=20 > -----Original Message----- > From: Schwarz, Konrad=20 > Sent: Thursday, March 30, 2006 11:16 AM > To: '[email protected]' > Subject: RFC: w32api-2.4-20060330-konrad.schwarz-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org/1 >=20 > Hello, >=20 > http://msdn.microsoft.com/library/en-us/vclib/html/_crt_atexit.asp >=20 > documents the prototype for atexit() as >=20 > int atexit( > void (__cdecl *func )( void ) > ); >=20 > but > mingw/include/stdlib.h >=20 > defines atexit() as >=20 > int __cdecl atexit (void (*)(void)); >=20 > E.g., the argument has type `void (*) (void)', and not `void=20 > (__cdecl *) (void)'. >=20 > Is this a bug? Regards, Konrad Schwarz ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642