shedelj@uberpwnage:/tmp/bzgtk/gtkbzedit-read-only$ ./build.sh src/main.cpp:36:1: warning: "_GNU_SOURCE" redefined :1:1: warning: this is the location of the previous definition In file included from src/main.cpp:38: ./include/global.h:523:30: warning: no newline at end of file In file included from src/main.cpp:39: ./include/main.h:54:30: warning: no newline at end of file In file included from src/main.cpp:40: ./include/callback.h:49:30: warning: no newline at end of file In file included from src/main.cpp:41: ./include/mesh3d.h:105:30: warning: no newline at end of file In file included from src/main.cpp:42: ./include/lists.h:45:30: warning: no newline at end of file In file included from src/main.cpp:43: ./include/entry.h:77:30: warning: no newline at end of file src/main.cpp: In function ‘void read_map(FILE*)’: src/main.cpp:861: error: ‘_strdup’ was not declared in this scope src/main.cpp:916: error: ‘_strdup’ was not declared in this scope In file included from src/callback.cpp:34: ./include/global.h:523:30: warning: no newline at end of file In file included from src/callback.cpp:35: ./include/main.h:54:30: warning: no newline at end of file In file included from src/callback.cpp:36: ./include/callback.h:49:30: warning: no newline at end of file In file included from src/callback.cpp:37: ./include/mesh3d.h:105:30: warning: no newline at end of file In file included from src/callback.cpp:38: ./include/lists.h:45:30: warning: no newline at end of file In file included from src/callback.cpp:39: ./include/save.h:55:30: warning: no newline at end of file In file included from src/callback.cpp:40: ./include/entry.h:77:30: warning: no newline at end of file src/callback.cpp:333:30: warning: no newline at end of file src/callback.cpp: In function ‘void cb_open(GtkWidget*)’: src/callback.cpp:111: error: ‘_strdup’ was not declared in this scope src/callback.cpp: In function ‘void cb_save(GtkWidget*)’: src/callback.cpp:125: error: ‘_strdup’ was not declared in this scope In file included from src/mesh3d.cpp:34: ./include/global.h:523:30: warning: no newline at end of file In file included from src/mesh3d.cpp:35: ./include/mesh3d.h:105:30: warning: no newline at end of file src/mesh3d.cpp:567:30: warning: no newline at end of file src/mesh3d.cpp: In function ‘void draw3dline(point, point)’: src/mesh3d.cpp:380: warning: passing ‘float’ for argument 3 to ‘void gdk_draw_line(GdkDrawable*, GdkGC*, gint, gint, gint, gint)’ src/mesh3d.cpp:380: warning: passing ‘float’ for argument 4 to ‘void gdk_draw_line(GdkDrawable*, GdkGC*, gint, gint, gint, gint)’ src/mesh3d.cpp:380: warning: passing ‘float’ for argument 5 to ‘void gdk_draw_line(GdkDrawable*, GdkGC*, gint, gint, gint, gint)’ src/mesh3d.cpp:380: warning: passing ‘float’ for argument 6 to ‘void gdk_draw_line(GdkDrawable*, GdkGC*, gint, gint, gint, gint)’ src/lists.cpp:28:1: warning: "_GNU_SOURCE" redefined :1:1: warning: this is the location of the previous definition In file included from src/lists.cpp:30: ./include/global.h:523:30: warning: no newline at end of file In file included from src/lists.cpp:31: ./include/main.h:54:30: warning: no newline at end of file In file included from src/lists.cpp:32: ./include/callback.h:49:30: warning: no newline at end of file In file included from src/lists.cpp:33: ./include/mesh3d.h:105:30: warning: no newline at end of file In file included from src/lists.cpp:34: ./include/lists.h:45:30: warning: no newline at end of file src/lists.cpp:458:30: warning: no newline at end of file src/entry.cpp:28:1: warning: "_GNU_SOURCE" redefined :1:1: warning: this is the location of the previous definition In file included from src/entry.cpp:30: ./include/global.h:523:30: warning: no newline at end of file In file included from src/entry.cpp:31: ./include/main.h:54:30: warning: no newline at end of file In file included from src/entry.cpp:32: ./include/callback.h:49:30: warning: no newline at end of file In file included from src/entry.cpp:33: ./include/mesh3d.h:105:30: warning: no newline at end of file In file included from src/entry.cpp:34: ./include/lists.h:45:30: warning: no newline at end of file In file included from src/entry.cpp:35: ./include/entry.h:77:30: warning: no newline at end of file src/entry.cpp: In function ‘void entry_item_get()’: src/entry.cpp:493: warning: converting to ‘int’ from ‘gdouble’ src/entry.cpp:494: warning: converting to ‘int’ from ‘gdouble’ src/entry.cpp:495: warning: converting to ‘int’ from ‘gdouble’ In file included from src/save.cpp:34: ./include/global.h:523:30: warning: no newline at end of file In file included from src/save.cpp:35: ./include/main.h:54:30: warning: no newline at end of file In file included from src/save.cpp:36: ./include/callback.h:49:30: warning: no newline at end of file In file included from src/save.cpp:37: ./include/mesh3d.h:105:30: warning: no newline at end of file In file included from src/save.cpp:38: ./include/lists.h:45:30: warning: no newline at end of file In file included from src/save.cpp:39: ./include/save.h:55:30: warning: no newline at end of file src/save.cpp:234:30: warning: no newline at end of file src/save.cpp: In function ‘void save_map()’: src/save.cpp:111: error: ‘_strdup’ was not declared in this scope src/save.cpp:112: error: ‘_strdup’ was not declared in this scope src/save.cpp:117: error: ‘_strdup’ was not declared in this scope src/save.cpp:124: error: ‘_strdup’ was not declared in this scope src/save.cpp:126: error: ‘_strdup’ was not declared in this scope