|
From: | William Ramsay |
Subject: | [Chicken-users] Syntax-case question |
Date: | Fri, 12 Oct 2007 08:26:28 -0400 |
User-agent: | Thunderbird 2.0.0.6 (X11/20070728) |
Hi,Now I'm confused. I'm writing a program that uses Gtk and Imlib2. Imlib2 requires syntax-case, but when I add syntax-case I get errors with my define statements. For instance, my program starts with:
(define win-group (gtk_window_group_new)) (define window (gtk_window_new GTK_WINDOW_TOPLEVEL))
(gtk_window_group_add_window win-group window)This works fine until I add (requires-extension syntax-case) and then I get a compile error:
Error: invalid context for definition: (define win-group (gtk_window_group_new))
What am I doing wrong and how do I fix it? Bill
[Prev in Thread] | Current Thread | [Next in Thread] |