pointer to __cdecl function
Saulius Krasuckas
saulius2 at ar.fi.lt
Tue Jul 19 06:16:43 CDT 2005
* On Tue, 19 Jul 2005, Boaz Harrosh wrote:
> * Saulius Krasuckas wrote:
> >
> > I am trying to sync w/ native crtdbg.h file, which defines:
> > | typedef void (__cdecl *_CRT_DUMP_CLIENT) (void *, size_t);
> > This doesn't compile with my gcc:
>
> I compiled native crtdbg.h with gcc 3.3.x Just fine.
> with:
> #define __cdecl __attribute__((__cdecl__))
>
> what is the version of your gcc
Mine is:
| gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
but that doesn't matter, I think. I didn't understand given error message
properly, so I didn't check the headers to include __cdecl define. Now
with #include "windef.h" the code compiles fine. Thank you.
More information about the wine-devel
mailing list