[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nonsensical byte compiler warning.
From: |
Richard Stallman |
Subject: |
Re: Nonsensical byte compiler warning. |
Date: |
Fri, 06 Apr 2007 08:56:59 -0400 |
Warnings stemming from the optimiser are commonly restricted to
defun-level positional information. For example, byte compiling:
(defun f ()
(message "hi")
(quote 0 1)
(let ((x 0 1))))
gives two warnings (both to the defun). Should these be fixed too?
I would like someone to try. And if it can't be done, the second best
thing is to say explicitly in the warning that the line number
pertains only to the function, not the actual place.
Another solution might be to generate a dummy expression
to hold the warning. The warning would actually be issued
when the compiler tries to really compile that expression.
I agree this is too hard to change now.
However, it would have been premature to give up without
checking.
- Re: Nonsensical byte compiler warning., (continued)
- Re: Nonsensical byte compiler warning., David Kastrup, 2007/04/04
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/04
- Re: Nonsensical byte compiler warning., David Kastrup, 2007/04/04
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/04
- Re: Nonsensical byte compiler warning., David Kastrup, 2007/04/04
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/04
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/04
- Re: Nonsensical byte compiler warning., David Kastrup, 2007/04/04
- Re: Nonsensical byte compiler warning., Richard Stallman, 2007/04/05
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/05
- Re: Nonsensical byte compiler warning.,
Richard Stallman <=
- Re: Nonsensical byte compiler warning., Chong Yidong, 2007/04/06
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/08
- Re: Nonsensical byte compiler warning., Richard Stallman, 2007/04/09
- Re: Nonsensical byte compiler warning., Glenn Morris, 2007/04/09
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/10
- Re: Nonsensical byte compiler warning., Glenn Morris, 2007/04/11
- Re: Nonsensical byte compiler warning., Chong Yidong, 2007/04/05
- Re: Nonsensical byte compiler warning., Alan Mackenzie, 2007/04/04
- Re: Nonsensical byte compiler warning., Markus Triska, 2007/04/04
- Re: Nonsensical byte compiler warning., Chong Yidong, 2007/04/04