Re: [Vala] Thread error 'assignment makes pointer from integer without a cast'
- From: Jens Georg <mail jensge org>
- To: vala-list gnome org
- Subject: Re: [Vala] Thread error 'assignment makes pointer from integer without a cast'
- Date: Wed, 29 Feb 2012 13:04:39 +0200
On Di, 2012-02-28 at 21:52 +0000, David M wrote:
Following upgrading to Vala verion 0.15.2, I get the warning 'GLib.Thread.create
has been deprecated since 2.32. Use new Thread<T> ()'. So I did as it suggested,
but then I get the errors as follows:
In function ?thread_demo_main?:
warning: assignment makes pointer from integer without a cast [enabled by
default]
undefined reference to `g_thread_new'
undefined reference to `g_thread_free'
Only do as suggested if you really have glib 2.32 (2.31.x) available.
Otherwise you need to live with that vala warning.
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]