pointer to __cdecl function

Saulius Krasuckas saulius2 at ar.fi.lt
Tue Jul 19 04:38:36 CDT 2005

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:

| gcc -c -I. -I. -I../../../include -I../../../include -I../../../include/msvcrt -I./..   -D_REENTRANT -fPIC -Wall -pipe
| -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o headers.o headers.c
| In file included from headers.c:35:
| ../../../include/msvcrt/crtdbg.h:52: parse error before '*' token

Does anyone know a way to workaround this?

More information about the wine-devel mailing list