Opened 10 years ago

#552 new enhancement

ccl::report-compiler-warning vs. *print-circle*

Reported by: heller Owned by: gb
Priority: trivial Milestone:
Component: Compiler Version: trunk
Keywords: Cc:

Description

Some compiler messages look strange when *print-circle* is set. For example:

Welcome to Clozure Common Lisp Version 1.4-dev-r12309M-trunk  (Linuxx8632)!
? (setq *print-circle* t)
t
? (compile nil '(lambda () (lambda () (lambda () x))))
;Compiler warnings :
;   In #1=an anonymous lambda form#2= inside #1##2##1#: Undeclared free variable x
#<Anonymous Function #x14A33026>
t
t
? 

I would prefer if the error message would include the position in the file instead of the function name. Ideally, compiler messages should use a format similar to the one used by gcc or similar compilers because editors like emacs or vi can already parse that format.

Change History (0)

Note: See TracTickets for help on using tickets.