Re: glib\guitls.h, atexit and the windows DDK



Rick Jones wrote:
Tor Lillqvist wrote:
Hmm, does it help to make the declaration
 int __cdecl atexit(void (__cdecl *)(void));
instead?


I thought about trying that, which then got me in the "fun" of trying to use notepad :) I'll see about moving the file around to where it can be edited with something useful.

since the change was small enough I did it in notepad.  making it:

int __cdecl atexit(void (__cdecl *)(void));

did indeed make the error go away when compiling under the DDK. So, if that change remains happy elsewhere, it would be nice to have go into the tree. Meanwhile, I'll update netperf4's README.windows file to suggest that people may have to make that change in existig versions.

sincerely,

rick jones



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]