Community
Participate
Working Groups
After resetting my master to current Eclipse's master, I've started getting these warnings: gcc -O -Wall -DSWT_VERSION=4301 -DLINUX -DGTK -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -fPIC `pkg-config --cflags gtk+-2.0` -c os.c os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS__1GTK_1WIDGET_1STATE’: os.c:1692:2: warning: implicit declaration of function ‘GTK_WIDGET_STATE’ [-Wimplicit-function-declaration] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS__1gtk_1fixed_1set_1has_1window’: os.c:9160:2: warning: implicit declaration of function ‘gtk_fixed_set_has_window’ [-Wimplicit-function-declaration] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS__1gtk_1object_1sink’: os.c:10390:2: warning: implicit declaration of function ‘gtk_object_sink’ [-Wimplicit-function-declaration] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS__1gtk_1tooltips_1new’: os.c:13835:2: warning: implicit declaration of function ‘gtk_tooltips_new’ [-Wimplicit-function-declaration] Solution: I forced os.c to regenerate (I did it by putting new line in OS.java) and warnings are gone. Please regenerate os.c and push it to master. Regards, Anatoly
Sorry, this is most likely caused by my mistake, I pushed some wrong os.c changes with the patch for bug 386145. Regenerated os.c and pushed it - http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=c54e37d49f03d2ce2796165cf58ab76d1511b7f5 Thanks for the bug!