SOURCES: iterm-gcc4.patch (NEW) - fix for gcc-4.x

sparky at pld-linux.org sparky at pld-linux.org
Wed Oct 18 19:10:09 CEST 2006


On Wed, Oct 18, 2006 at 06:55:12PM +0200, witekfl wrote:
> Author: witekfl                      Date: Wed Oct 18 16:55:12 2006 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - fix for gcc-4.x

> +--- iterm-0.5/unix/Xaw/lib/xim.c.old	2006-10-18 18:11:35.000000000 +0200
> ++++ iterm-0.5/unix/Xaw/lib/xim.c	2006-10-18 18:12:03.000000000 +0200
> +@@ -63,8 +63,8 @@
> +         }
> +       }
> +     }
> +-    loop_end:
> +   }
> ++loop_end:
> +   XFree(im_styles);

I haven't seen the code, but wasn't it ment to work like 'continue',
instead of 'break' ?

in such case adding empty instruction ';' should be enough, like that:

         }
       }
     }
-    loop_end:
+    loop_end: ;
   }
   XFree(im_styles);


check it !

-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list