guile-devel
[Top][All Lists]
Advanced

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

Re: Invalid compiler option #:warnings for elisp


From: Brian Templeton
Subject: Re: Invalid compiler option #:warnings for elisp
Date: Thu, 12 Aug 2010 20:26:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Julien Danjou <address@hidden> writes:

> Hi all,
>
> I've tried to use guile with elisp language. However, I've the following
> warning:
>
> GNU Guile 1.9.11.255-802b
> scheme@(guile-user)> ,L elisp
> Happy hacking with Emacs Lisp!  To switch back, type `,L scheme'.
> elisp@(guile-user)> 1
> While compiling expression:
> ERROR: Invalid compiler option #:warnings
>
> The following change fix the problem:
>
> --- a/module/system/repl/common.scm
> +++ b/module/system/repl/common.scm
> @@ -106,7 +106,7 @@ See <http://www.gnu.org/licenses/lgpl.html>, for more 
> details.")
>  
>  (define repl-default-options
>    (copy-tree
> -   `((compile-options (#:warnings (unbound-variable arity-mismatch)) #f)
> +   `((compile-options () #f)
>       (trace #f #f)
>       (interp #f #f)
>       (prompt #f ,(lambda (prompt)
>
> But I'm pretty sure that's not the good fix. :-)

The Elisp compiler doesn't currently implement any warnings, so
`process-options!' (in "module/elisp/compile-tree-il.scm") can simply
ignore the option. See commit 3faabe5 in my Guile Elisp repository:
<git://git.hcoop.net/git/bpt/guile.git>

-- 
Inteligenta persono lernas la lingvon Esperanton rapide kaj facile.
Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla,
belsona, Esperanto estas la praktika solvo de la problemo de universala
interkompreno. Lernu la interlingvon Esperanton! http://lernu.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]