1 Mar 2012 12:59
Re: [Vala] Thread error 'assignment makes pointer from integer without a cast'
On Tue, Feb 28, 2012 at 10:52 PM, David M <dmlh02@...> 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' > > Is this a bug in Vala or am I phrasing the call incorrectly? > You don't have recent glib. Just stick with the old code until you upgrade it. -- -- www.debian.org - The Universal Operating System
_______________________________________________ vala-list mailing list vala-list@... http://mail.gnome.org/mailman/listinfo/vala-list
RSS Feed