SOURCES: pine-address-of-register.patch (NEW) - gcc-4.1.2 prohibit...

qrczak qrczak at pld-linux.org
Sun Feb 11 02:10:01 CET 2007


Author: qrczak                       Date: Sun Feb 11 01:10:01 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- gcc-4.1.2 prohibits taking address of a register variable

---- Files affected:
SOURCES:
   pine-address-of-register.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pine-address-of-register.patch
diff -u /dev/null SOURCES/pine-address-of-register.patch:1.1
--- /dev/null	Sun Feb 11 02:10:01 2007
+++ SOURCES/pine-address-of-register.patch	Sun Feb 11 02:09:56 2007
@@ -0,0 +1,22 @@
+--- pine4.64/pico/composer.c~	2007-02-10 22:08:25.000000000 +0100
++++ pine4.64/pico/composer.c	2007-02-10 22:29:31.000000000 +0100
+@@ -1771,7 +1771,7 @@
+ {
+     register struct	hdr_line   *lp;		/* temporary line pointer    */
+     register int	i;
+-    register int	ch = 0;
++    int	ch = 0;
+     register int	status;			/* various func's return val */
+     register char	*tbufp;			/* temporary buffer pointers */
+ 	     int	skipmove = 0;
+--- pine4.64/pine/osdep/termout.unx~	2007-02-10 23:45:22.000000000 +0100
++++ pine4.64/pine/osdep/termout.unx	2007-02-10 23:47:03.000000000 +0100
+@@ -747,7 +747,7 @@
+   ----*/
+ void
+ Writechar(ch, new_esc_len)
+-     register unsigned int ch;
++     unsigned int ch;
+      int      new_esc_len;
+ {
+     static   int esc_len = 0, seq = 0;
================================================================


More information about the pld-cvs-commit mailing list