[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7908: png-1.5 fix for emacs-23.2 and HEAD
From: |
Andreas Schwab |
Subject: |
bug#7908: png-1.5 fix for emacs-23.2 and HEAD |
Date: |
Sat, 29 Jan 2011 23:03:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.92 (gnu/linux) |
Chong Yidong <cyd@stupidchicken.com> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Does this alternate definition of PNG_JMPBUF make sense?
>>
>> #define PNG_JMPBUF(ptr) \
>> (*(jmp_buf *)(fn_png_set_longjmp_fn((ptr), longjmp, sizeof (jmp_buf))))
>
> Aha, I think it makes sense. Since DEF_IMGLIB_FN defines a return type
> of int, whereas fn_png_set_longjmp_fn actually returns a (jmp_buf *), we
> do indeed need to perform the extra cast.
You can't expect this to work, though.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, (continued)
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/25
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD,
Andreas Schwab <=
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Andreas Schwab, 2011/01/29