Skip to content

tests: Casting to "void" is not allowed

Rico Tzschichholz requested to merge ricotz/vala into master

See vala#1070 (closed)

[2/14] Compiling Vala source ../../../src/gnome3/libgnome-games-support/tests/test-scores.vala games/libgnome-games-support-1.vapi
FAILED: tests/libgnome-games-support-tests.p/test-scores.c 
valac -C --debug --debug --pkg gtk+-3.0 --target-glib ' 2.40.0' --pkg glib-2.0 --pkg gee-0.8 --color=always --directory tests/libgnome-games-support-tests.p --basedir ../../../src/gnome3/libgnome-games-support/tests --target-glib=2.44 ../../../src/gnome3/libgnome-games-support/tests/test-scores.vala games/libgnome-games-support-1.vapi
../../../src/gnome3/libgnome-games-support/tests/test-scores.vala:36.13-36.49: error: Casting to `void' is not allowed
            (void) context.add_score.end (result);
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../src/gnome3/libgnome-games-support/tests/test-scores.vala:257.5-268.11: error: Casting to `void' is not allowed
Compilation failed: 2 error(s), 0 warning(s)
Edited by Rico Tzschichholz

Merge request reports