[PATCH] clean up warnings caused by slighly improper version of wordsize.h for ia64

Al Stone ahs3 at fc.hp.com
Tue Mar 6 11:44:37 PST 2007


Yet another compiler warning clean-up for ia64 ... in this case, the
warning was that __WORDSIZE_COMPAT32 was not defined.  Added the proper
definition to libc/sysdeps/ia64/bits/wordsize.h to make the warning go
away.

This has also been reported as issue 0001254.

Signed-off-by: Al Stone <ahs3 at fc.hp.com>

-- 
Ciao,
al
----------------------------------------------------------------------
Al Stone                                      Alter Ego:
Open Source and Linux R&D                     Debian Developer
Hewlett-Packard Company                       http://www.debian.org
E-mail: ahs3 at fc.hp.com                        ahs3 at debian.org
----------------------------------------------------------------------

diff --exclude .svn --exclude '.config*' -Naur svn/libc/sysdeps/linux/ia64/bits/wordsize.h uClibc-ia64-current/libc/sysdeps/linux/ia64/bits/wordsize.h
--- svn/libc/sysdeps/linux/ia64/bits/wordsize.h	2007-02-07 17:39:44.000000000 -0700
+++ uClibc-ia64-current/libc/sysdeps/linux/ia64/bits/wordsize.h	2007-03-02 16:52:33.000000000 -0700
@@ -16,4 +16,5 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __WORDSIZE	64
+#define __WORDSIZE		64
+#define __WORDSIZE_COMPAT32	1




More information about the uClibc mailing list