GNU bug report logs -
#9109
24.0.50; Warning: assignment to free variable (unwind-protect)
Previous Next
Reported by: Roland Winkler <winkler <at> gnu.org>
Date: Sun, 17 Jul 2011 15:38:02 UTC
Severity: minor
Merged with 2681,
8774,
22288,
24128,
24592
Found in versions 23.0.91, 23.3.1, 24.0.50, 24.3.1, 25.0.50, 25.1
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
Message #15 received at control <at> debbugs.gnu.org (full text, mbox):
merge 24592 24128
quit
24449 is a special case, which has been fixed
Eli Zaretskii <eliz <at> gnu.org> writes:
> severity 24592 minor
> merge 24592 24449
> merge 24449 24128
> thanks
>
>> From: ynyaaa <at> gmail.com
>> Date: Mon, 03 Oct 2016 10:18:25 +0900
>>
>>
>> Let the contents of the file "tmp.el" be:
>> (defun test (files)
>> (and t (string-match 1))
>> (and t (string-match 1 2)))
>>
>> Then input M-x byte-compile-file RET tmp.el RET
>>
>> *Compile-Log* buffer shows:
>> In test:
>> tmp.el:3:11:Warning: string-match called with 1 argument, but requires 2-3
>>
>> The warning must indicate the line 2.
>
> It's a known issue that the byte compiler cannot report the lines for
> warnings and errors accurately. See, for example, bug#24449,
> bug#24128, etc.
This bug report was last modified 3 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.