Re: pointer to __cdecl function

2005-07-19 Thread Boaz Harrosh
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: | gcc -c -I. -I. -I../../../include -I../../../include -I../../../include/msvcrt -I./.. -D_REENTRANT -fPIC -Wa

Re: pointer to __cdecl function

2005-07-19 Thread Saulius Krasuckas
* 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 fin

Re: pointer to __cdecl function

2005-07-19 Thread Boaz Harrosh
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: | gcc -c -I. -I. -I../../../include -I../../../include -I../../../include/msvcrt -I./.. -D_REENTRANT -fPIC -Wa

pointer to __cdecl function

2005-07-19 Thread Saulius Krasuckas
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