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

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

 



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 following program:

#include <stdio.h>
#include <fcntl.h>
#include <glib.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>

int __cdecl
main(int argc, char *argv[]) {
  g_print("hello world\n");
}

so it would _seem_ that the "add the __cdecl to the atexit declaration in gutil.h" change is safe?

rick jones
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux