-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
gcc version 11.1.0 (GCC)
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\" -DDEBUG -DUSE_T4K_PREFIX=1 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -pthread -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -lspeechd -MT t4k_main.lo -MD -MP -MF .deps/t4k_main.Tpo -c t4k_main.c -o t4k_main.o >/dev/null 2>&1
mv -f .deps/t4k_main.Tpo .deps/t4k_main.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\" -DDEBUG -DUSE_T4K_PREFIX=1 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -pthread -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -lspeechd -MT t4k_menu.lo -MD -MP -MF .deps/t4k_menu.Tpo -c -o t4k_menu.lo t4k_menu.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\" -DDEBUG -DUSE_T4K_PREFIX=1 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -pthread -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -lspeechd -MT t4k_menu.lo -MD -MP -MF .deps/t4k_menu.Tpo -c t4k_menu.c -fPIC -DPIC -o .libs/t4k_menu.o
t4k_menu.c: In function ‘menu_TranslateNode’:
t4k_menu.c:265:23: warning: assignment to ‘xmlAttr *’ {aka ‘struct _xmlAttr *’} from incompatible pointer type ‘struct _xmlNode *’ [-Wincompatible-pointer-types]
265 | for(child = node->children; child; child = child->next) {
| ^
t4k_menu.c:267:62: warning: passing argument 1 of ‘menu_TranslateNode’ from incompatible pointer type [-Wincompatible-pointer-types]
267 | tnode->submenu[i++] = menu_TranslateNode(child);
| ^~~~~
| |
| xmlAttr * {aka struct _xmlAttr *}
t4k_menu.c:222:39: note: expected ‘xmlNode *’ {aka ‘struct _xmlNode *’} but argument is of type ‘xmlAttr *’ {aka ‘struct _xmlAttr *’}
222 | MenuNode *menu_TranslateNode(xmlNode *node) {
| ~~~~~~~~~^~~~
t4k_menu.c: In function ‘T4K_RunMenu’:
t4k_menu.c:458:33: warning: passing argument 1 of ‘internal_res_switch_handler’ from incompatible pointer type [-Wincompatible-pointer-types]
458 | internal_res_switch_handler(&T4K_PrerenderAll);
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(void)
In file included from t4k_menu.c:35:
t4k_globals.h:81:52: note: expected ‘ResSwitchCallback’ {aka ‘void (*)(int, int)’} but argument is of type ‘void (*)(void)’
81 | void internal_res_switch_handler(ResSwitchCallback callback);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
t4k_menu.c: At top level:
t4k_menu.c:1334:6: error: conflicting types for ‘set_font_size’; have ‘void(_Bool)’
1334 | void set_font_size(bool uniform)
| ^~~~~~~~~~~~~
t4k_menu.c:1335:1: note: an argument type that has a default promotion cannot match an empty parameter name list declaration
1335 | {
| ^
t4k_menu.c:154:17: note: previous declaration of ‘set_font_size’ with type ‘void()’
154 | void set_font_size();
| ^~~~~~~~~~~~~
In file included from t4k_globals.h:37,
from t4k_menu.c:35:
t4k_common.h:248:13: warning: ‘wrapped_lines’ defined but not used [-Wunused-variable]
248 | static char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
| ^~~~~~~~~~~~~
make[3]: *** [Makefile:669: t4k_menu.lo] Error 1
make[3]: Leaving directory '/tmp/build/t4kcommon-git/src/t4k-common-arch/src'
make[2]: *** [Makefile:709: all-recursive] Error 1
make[2]: Leaving directory '/tmp/build/t4kcommon-git/src/t4k-common-arch/src'
make[1]: *** [Makefile:618: all-recursive] Error 1
make[1]: Leaving directory '/tmp/build/t4kcommon-git/src/t4k-common-arch'
make: *** [Makefile:524: all] Error 2
Is that intended? Is it a compiler version thingy?
Metadata
Metadata
Assignees
Labels
No labels