[Ecls-list] strange bug related to streams

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Sat Feb 2 21:47:37 UTC 2008

On Feb 2, 2008 10:18 PM, Stelian Ionescu <sionescu at common-lisp.net> wrote:
> I've encountered a strange bug while trying to load CFFI:
> ;;; Compiling (DEFUN %DEFCFUN-VARARGS ...).
> Cannot unread the stream #<string-input stream from "-">. [...]
> the problem is caused by #\- (and other cases of literal characters)

Hi Stelian,

could you be more precise about the steps to reproduce this bug? I
have just downloaded CFFI, and used (asdf:oos 'asdf:load-op :cffi)
from inside the source directory, and everything works just fine.

The error message you just showed could be caused by an improper use
of unread-char, such as unreading a charcter that has not been read
before. I need more information to track this issue.


Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)

More information about the ecl-devel mailing list