1 2 3 4 5 6 7 8 9 10
#pragma GCC diagnostic ignored "-Wstrict-prototypes" #include <gtk/gtk.h> #pragma GCC diagnostic error "-Wstrict-prototypes" int main(int argc, char *argv[]) { gtk_init(&argc, &argv); return 0; }