[parisc-linux] Re: gcc-3.2 -> gcc-3.3 transition on hppa
Matthew Wilcox
willy@debian.org
Fri, 21 Mar 2003 13:36:24 +0000
On Fri, Mar 21, 2003 at 01:44:28PM +0100, Joel Soete wrote:
> I test following work-around against 2.4.20-pa32 with latest dpkg gcc-3.3
> (3.3-0pre2) and it boot well know:
> @@ -489,7 +489,11 @@
> +#if !defined (__LP64__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__
> >= 1))
> + if (ka->sa.sa_handler == (void *)SIG_IGN) {
> +#else
> if (ka->sa.sa_handler == SIG_IGN) {
> +#endif
ugh, this is foolish. You should be doing:
- if (ka->sa.sa_handler == SIG_IGN) {
+ if (ka->sa.sa_handler == (void *)SIG_IGN) {
no ifdefs!
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk