gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/goocanvas-2.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-
moves.c: In function ‘obst_heval’:include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-
moves.c:100:10: error: implicit declaration of function ‘countobst’; did you mean ‘count_bits’? [-Werror=implicit-function-declaration]
100 | t1 = countobst(s);
| ^~~~~~~~~
| count_bits
moves.c: In function ‘init_engine’:
moves.c:1734:17: error: implicit declaration of function ‘create_hash’ [-Werror=implicit-function-declaration]
1734 | state_hash = create_hash(s);
| ^~~~~~~~~~~
moves.c: In function ‘load_values_from_file’:
moves.c:1810:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1810 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1815:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1815 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1820:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1820 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1828:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1828 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1836:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1836 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1844:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1844 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1852:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1852 | fscanf(rc_fd, "%d", &value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1860:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1860 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1865:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1865 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1870:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1870 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1875:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1875 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1880:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1880 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1885:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1885 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:1890:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1890 | fscanf(rc_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c: In function ‘load_images_from_theme’:
moves.c:2019:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2019 | fscanf(theme_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:2025:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2025 | fscanf(theme_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:2031:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2031 | fscanf(theme_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:2037:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2037 | fscanf(theme_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:2043:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2043 | fscanf(theme_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
moves.c:2049:10: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2049 | fscanf(theme_fd, "%s", buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bstate.c: In function ‘bstate_set_just_finished’:
bstate.c:359:4: error: implicit declaration of function ‘update_status_bar’ [-Werror=implicit-function-declaration]
359 | update_status_bar();
| ^~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/goocanvas-2.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/
cc1: some warnings being treated as errors
make[3]: *** [Makefile:290: bstate.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:02:12 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,600 |