Ahoj,
při překladu programu, který by měl jen vykreslit základní widget pomocí GTK+ se kompilátoru nelíbí skoro všechny hlavičkové soubory, viz dole. Nevíte někdo co s tim??? Překládal jsem to kompil. cc i gcc a nic...Už nevim co s tim!
např. :
/usr/include/gio/gioenumtypes.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_app_info_create_flags_get_type’
/usr/include/gio/gioenumtypes.h:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_converter_flags_get_type’
/usr/include/gio/gioenumtypes.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_converter_result_get_type’
nebo :
/usr/include/gio/giostream.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_io_stream_get_type’
In file included from /usr/include/gio/gio.h:64,
from /usr/include/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gdk/gdk.h:32,
from /usr/include/gtk/gtk.h:32,
from gtk_2.c:5:
/usr/include/gio/gfileiostream.h:64: error: expected specifier-qualifier-list before ‘goffset’
/usr/include/gio/gfileiostream.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_file_io_stream_get_type’
In file included from /usr/include/gio/gio.h:65,
from /usr/include/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gdk/gdk.h:32,
from /usr/include/gtk/gtk.h:32,
from gtk_2.c:5: