SOURCES (AC-branch): STLport-alpha.patch (NEW) - fix for "size of ...
hawk
hawk at pld-linux.org
Sat Mar 17 14:31:09 CET 2007
Author: hawk Date: Sat Mar 17 13:31:09 2007 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- fix for "size of array '__static_assert' is negative" on alpha
---- Files affected:
SOURCES:
STLport-alpha.patch (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/STLport-alpha.patch
diff -u /dev/null SOURCES/STLport-alpha.patch:1.1.2.1
--- /dev/null Sat Mar 17 14:31:09 2007
+++ SOURCES/STLport-alpha.patch Sat Mar 17 14:31:04 2007
@@ -0,0 +1,22 @@
+diff -ur STLport-5.1.2.orig/stlport/stl/_cwchar.h STLport-5.1.2/stlport/stl/_cwchar.h
+--- STLport-5.1.2.orig/stlport/stl/_cwchar.h 2006-11-13 21:27:25.000000000 +0100
++++ STLport-5.1.2/stlport/stl/_cwchar.h 2007-03-17 14:27:18.000000000 +0100
+@@ -105,18 +105,6 @@
+ # define WCHAR_MAX ((wchar_t)~0)
+ # endif
+ # endif
+-# if defined (__GNUC__) && defined (__alpha__)
+-/* Definition of WCHAR_MIN and MAX are wrong for alpha platform
+- * as gcc consider wchar_t as an unsigned type. Static assertion are
+- * here to check that a future alpha SDK or a future gcc won't change the
+- * situation making this workaround useless.
+- */
+-_STLP_STATIC_ASSERT(((wchar_t)-1 > 0) && (WCHAR_MIN < 0))
+-# undef WCHAR_MIN
+-# define WCHAR_MIN 0
+-# undef WCHAR_MAX
+-# define WCHAR_MAX ((wchar_t)~0)
+-# endif
+ # if defined(__HP_aCC) && (__HP_aCC >= 60000)
+ /* Starting with B.11.31, HP-UX/ia64 provides C99-compliant definitions
+ * of WCHAR_MIN/MAX macros without having to define
================================================================
More information about the pld-cvs-commit
mailing list