Delivered-To: garrigue at math.nagoya-u.ac.jp Authentication-Results: mailhost.math.nagoya-u.ac.jp sender=lablgtk-bounces at yquem.inria.fr; domainkey=neutral (domain does not match address; no policy for yquem.inria.fr) Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=math.nagoya-u.ac.jp; h= date:message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=alpha; bh=9FAezBzClfvsotK9B2y3yG3OXw0=; b=xReWV+fshU1THKqfmb5LATCB4LvF OtJ8t4hJtc+tZusyvIGO5G9BF5l+hyETy+b5Q10Ghv95kiDHRqe4didyOp56uJfN e6rKXtzwyvMkWY0+H21UDKNOXzE17balYj+0++pD2ze4MsZrMoRUguO0oOLKcS5n MJ9ykxhJvQaTwlg= DomainKey-Signature: a=rsa-sha1; h=Received:Date:Message-Id:To:Cc:Subject:From:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=JBJdK7u6DS1zuwUl6lx1taNcFYWz8qhctRrnmzhstCaKlmUr5Iazcze8DHgtPmtkhgA/dBgo17CGJTZcIxQZjq1oP5Sm1XPtfJS2Qbdr6QsFsW7fzptFFi5i33MQHNYx71o/OzKn/52jCT9j0uD64OxZaf2fI9Te8COr4him95M=; c=nofws; d=math.nagoya-u.ac.jp; q=dns; s=alpha Date: Mon, 16 Aug 2010 11:16:36 +0900 (JST) Message-Id: <20100816.111636.41643194.garrigue at math.nagoya-u.ac.jp> To: fmonnier at linux-nantes.fr.eu.org Subject: Re: [Lablgtk] conflicting types for 'g_value_get_variant' From: Jacques Garrigue In-Reply-To: <201008122100.01432.fmonnier at linux-nantes.fr.eu.org> References: <201008122100.01432.fmonnier at linux-nantes.fr.eu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lablgtk at yquem.inria.fr From: Florent Monnier > compiling lablgtk-2.14.1 : > > + gcc ...... ml_gobject.c > > ml_gobject.c:292: error: conflicting types for 'g_value_get_variant' > /usr/include/glib-2.0/gobject/gvaluetypes.h:230: note: previous declaration of > 'g_value_get_variant' was here > > ml_gobject.c:380: error: conflicting types for 'g_value_set_variant' > /usr/include/glib-2.0/gobject/gvaluetypes.h:226: note: previous declaration of > 'g_value_set_variant' was here > > if I rename g_value_get_variant() and g_value_set_variant() in ml_gobject.c > (and appropriatly in src/gobject.ml) the compilation succeeds) > > > The file "/usr/include/glib-2.0/gobject/gvaluetypes.h" belongs to: > libglib2.0-devel-2.25.13-1mdv2011.0 I see, this looks like they introduced a new function using the same name... Should have been more careful about that when designing lablgtk. Fortunately the fix is trivial. Jacques _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk