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

2006-03-09 Thread Rick Jones
You probably should build some helloworld type program that includes some typical DDK headers without actually using any DDK functionality, and includes glib.h, and just calls g_print(hello, dude\n) and see what happens... with some very kind guidance from Tor I was able to compile and run the

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

2006-03-08 Thread Tor Lillqvist
Rick Jones writes: the first complaint out of the compiler (among many :) is that in line 239 of gutils.h atexit is being redefined with different type modifiers (error C2373) Hmm, does it help to make the declaration int __cdecl atexit(void (__cdecl *)(void)); instead? Notepad is

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

2006-03-08 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: the first complaint out of the compiler (among many :) is that in line 239 of gutils.h atexit is being redefined with different type modifiers (error C2373) Hmm, does it help to make the declaration int __cdecl atexit(void (__cdecl *)(void));

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

2006-03-08 Thread Rick Jones
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

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

2006-03-08 Thread Tor Lillqvist
Rick Jones writes: Got emacs?-) Of course, wouldn't leave home without it, but I didn't want to risk turning this into an editor war ;) There are Windows ports of both XEmacs and FSF Emacs and they work fine. I prefer XEmacs myself. I'd not heard of wordpad - and it doesn't seem to be on

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

2006-03-08 Thread Tor Lillqvist
Rick Jones writes: int __cdecl atexit(void (__cdecl *)(void)); did indeed make the error go away when compiling under the DDK. What compiler is used in that case, BTW, as I get no errors or warnings when compiling a program that includes both stdlib.h (where the official declaration of

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

2006-03-08 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: I'd not heard of wordpad - and it doesn't seem to be on the system to which I have access - pointer? That would be odd as it is bundled. Look in Start Menu:Accessories. ah, well, there it is. i just couldn't say wordpad from a command window

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

2006-03-08 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: int __cdecl atexit(void (__cdecl *)(void)); did indeed make the error go away when compiling under the DDK. What compiler is used in that case, BTW, as I get no errors or warnings when compiling a program that includes both stdlib.h (where the

glib\guitls.h, atexit and the windows DDK

2006-03-07 Thread Rick Jones
i'm in the midst of getting netperf4: http://www.netperf.org/svn/netperf4/trunk/ ported to Windows. As a first step I have it optionally using Glib/Gthread under Linux. Netperf4 also uses libxml2. I've gotten those bits downloaded and placed under my build directory. The Win32 stuff was

Win32 viewers/pagers/editors WAS: glib\guitls.h, atexit and the windows DDK

2006-03-07 Thread David
On Tue, Mar 07, 2006 at 11:17:37AM -0800, Rick Jones wrote: i'm in the midst of getting netperf4: http://www.netperf.org/svn/netperf4/trunk/ ported to Windows. As a first step I have it optionally using Glib/Gthread under Linux. Notepad is useless for looking at the include file