GNOME Bugzilla – Bug 574213
[gstcheck] fix for libcheck > 0.9.6
Last modified: 2009-03-19 21:42:08 UTC
Using libcheck 0.9.6 (0.9.7 SVN) requires one adjustment in the code.
Created attachment 130092 [details] [review] Use newer libcheck API properly.
That change is in a #ifdef CHECK_VERSION >= 0.9.3 block - did you mean to add a new >= 0.9.7 block or does it need to be changed for older vesions as well?
Yes, of course it's not for 0.9.3, it's for 0.9.6 (probably). I don't know at which version the API change happened.
Only in SVN after 0.9.6 it seems: $ grep -r --include='*.h' _tcase_add_test . | grep void ./check-0.9.4/src/check.h:void _tcase_add_test (TCase *tc, TFun tf, const char *fname, int signal, int start, int end); ./check-0.9.5/src/check.h:void _tcase_add_test (TCase *tc, TFun tf, const char *fname, int signal, int start, int end); ./check-0.9.6/src/check.h:void CK_EXPORT _tcase_add_test (TCase *tc, TFun tf, const char *fname, int _signal, int start, int end); commit d430552ec3767a928b6b9e07a49dbaf8ad966808 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Thu Mar 19 21:27:48 2009 +0000 gstcheck: fix for check versions > 0.9.6 A new argument allowed_exit_value was added in SVN recently (#574213).