Spoiler
source/common.c: In function 'int32_t S_TryExtensionReplacements(const char*, char)': source/common.c:1064:32: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] char * extension = Bstrrchr(testfn, '.'); ^ source/common.c:1065:34: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] char * const fn_end = Bstrchr(testfn, '\0'); ^ Failed building source/obj/common.o from source/common.c! Makefile:693: recipe for target 'source/obj/common.o' failed make: *** [source/obj/common.o] Error 1
r5448 introduces one more error
Spoiler
source/common.c: In function 'void G_AddSteamPaths(const char*)': source/common.c:555:27: error: too few arguments to function 'int32_t addsearchpath_user(const char*, int32_t)' addsearchpath_user(buf); ^ In file included from build/include/common.h:12:0, from source/common.c:22: build/include/cache1d.h:29:13: note: declared here int32_t addsearchpath_user(const char *p, int32_t user); ^
Compiler warnings from r5444:
Spoiler
source/startgtk.game.c: In function ‘GdkPixbuf* load_banner()’: source/startgtk.game.c:261:12: warning: ‘GdkPixbuf* gdk_pixbuf_from_pixdata(const GdkPixdata*, gboolean, GError**)’ is deprecated [-Wdeprecated-declarations] return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL); ^ In file included from build/include/gtkpixdata.h:1:0, from source/startgtk.game.c:23: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, ^ source/startgtk.game.c:261:12: warning: ‘GdkPixbuf* gdk_pixbuf_from_pixdata(const GdkPixdata*, gboolean, GError**)’ is deprecated [-Wdeprecated-declarations] return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL); ^ In file included from build/include/gtkpixdata.h:1:0, from source/startgtk.game.c:23: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, ^ source/startgtk.game.c:261:82: warning: ‘GdkPixbuf* gdk_pixbuf_from_pixdata(const GdkPixdata*, gboolean, GError**)’ is deprecated [-Wdeprecated-declarations] return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL); ^ In file included from build/include/gtkpixdata.h:1:0, from source/startgtk.game.c:23: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, ^ Built object source/obj/startgtk.game.o
Spoiler
build/src/startgtk.editor.c: In function ‘GdkPixbuf* load_banner()’: build/src/startgtk.editor.c:139:12: warning: ‘GdkPixbuf* gdk_pixbuf_from_pixdata(const GdkPixdata*, gboolean, GError**)’ is deprecated [-Wdeprecated-declarations] return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL); ^ In file included from build/include/gtkpixdata.h:1:0, from build/src/startgtk.editor.c:2: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, ^ build/src/startgtk.editor.c:139:12: warning: ‘GdkPixbuf* gdk_pixbuf_from_pixdata(const GdkPixdata*, gboolean, GError**)’ is deprecated [-Wdeprecated-declarations] return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL); ^ In file included from build/include/gtkpixdata.h:1:0, from build/src/startgtk.editor.c:2: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, ^ build/src/startgtk.editor.c:139:82: warning: ‘GdkPixbuf* gdk_pixbuf_from_pixdata(const GdkPixdata*, gboolean, GError**)’ is deprecated [-Wdeprecated-declarations] return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL); ^ In file included from build/include/gtkpixdata.h:1:0, from build/src/startgtk.editor.c:2: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, ^ Built object build/obj/startgtk.editor.o