Re: [Vala] Vala posix profile
- From: pancake <pancake youterm com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Vala posix profile
- Date: Tue, 19 Apr 2011 14:59:25 +0200
On 04/17/11 17:22, Luca Bruno wrote:
On Sun, Apr 17, 2011 at 01:20:48PM +0200, pancake wrote:
I just did a little test using cairo with the posix profile of Vala. You can read the code at code.valaide.org
The first issue I get is that stdio.h is not included until you use a function like print() which is a bit
annoying because vala already places some defines before the code (cairo_destroy,,..)
I think stdio.h should be included when using the --profile=posix
I think that we could include stdio and stdlib unconditionally.
https://bugzilla.gnome.org/show_bug.cgi?id=648206
The other bug I found is that Vala places a g_return_if_fail if I pass an instance as argument to a
function... This shouldnt be done on posix. Or at least provide a non glib dependant code like redefining
this or just use assert()
What do you think about these changes?
They're obviously bugs, so...
https://bugzilla.gnome.org/show_bug.cgi?id=648204
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]