- Original Message -
> From: Felipe Lavratti
> Sent: Thursday, 4 February 2016, 0:21
> Subject: Re: [Vala] glib-2.0 - glib-2.0.vapi mismatch bug: TestFixtureFunc
> vs TestFunc
>
> The thing is, glib 2.44 _does uses_ the GTestFixtureFunc type, but the
> vala
Daniel, tried with --target-glib=2.44 and the warning stills.
The valac line that generate the error is this:
/usr/bin/valac -C -b /home/fanl/workspace-beyond/software/vatom -d
/home/fanl/workspace-beyond/software/vatom/build --pkg=gio-2.0
--pkg=gee-0.8 --pkg=posix --target-glib=2.44 --thread --de
If fall in this case, as in GLib.Thread, first check if GLib C
documentation state the API is deprecated. If so, you need to use
*--**target-glib**=**MAJOR*.*MINOR*
to be sure you'll generate code for the GLib version you use or target,
this ensure too, using latest API an avoid valac to generate
Hello, using the glib-2.0 `GLib.TestCase` constructor triggers the
following warning:
warning: passing argument 4 of ‘g_test_create_case’ from incompatible
pointer type
ts.add(new TestCase("context", (TestFunc)setup,
(TestFunc)test_context, (TestFunc)teardown));
It means, the `g_test