Re: GObject Introspection problems



On Fri, Jun 19, 2009 at 7:56 AM, Daniel Espinosa<esodan gmail com> wrote:
> I'm introducing GObject Introspection y two libraries GDA and my own project
> libcash[http://sourceforge.net/projects/libcash/], but when compiling to
> generate gir and typedef files I get this errors messages.

My guess here is that the parser has gotten confused by an error
earlier.  In csh-account.c, I bet this is the problem:

	static gchar *sql_debit = "SELECT sum (amount) FROM transactions \
								WHERE debit in \
								 (SELECT id FROM accounts \
								  WHERE parent in \
								  (SELECT id FROM accounts WHERE id = ##account::int or parent
= ##account::int) \
								  UNION SELECT id FROM accounts WHERE id = ##account::int)";

Multiline strings with this syntax are a GCC extension I believe, and
it's possible our current parser handles them.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]