ooo-build r15550 - in trunk: . patches/dev300



Author: pmladek
Date: Mon Mar 16 19:19:14 2009
New Revision: 15550
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15550&view=rev

Log:
2009-03-16  GÃkÃen Eraslan <gokcen pardus org tr>

	* patches/dev300/stlport-gcc-warnings.diff, patches/dev300/apply:
	  GCC warnings: suggest a space before '; ' or explicit braces around
	  empty body in 'for' statement (i#100223)



Added:
   trunk/patches/dev300/stlport-gcc-warnings.diff
Modified:
   trunk/ChangeLog
   trunk/patches/dev300/apply

Modified: trunk/patches/dev300/apply
==============================================================================
--- trunk/patches/dev300/apply	(original)
+++ trunk/patches/dev300/apply	Mon Mar 16 19:19:14 2009
@@ -1376,6 +1376,9 @@
 # do not pack any potential .orig files with ppds
 psprint_config-no-orig.diff, jholesov
 
+# GCC warnings: suggest a space before '; ' or explicit braces around empty body in 'for' statement
+stlport-gcc-warnings.diff, i#100223, gokcen
+
 [ DebianOnly ]
 seamonkey-is-iceape.diff
 

Added: trunk/patches/dev300/stlport-gcc-warnings.diff
==============================================================================
--- (empty file)
+++ trunk/patches/dev300/stlport-gcc-warnings.diff	Mon Mar 16 19:19:14 2009
@@ -0,0 +1,34 @@
+--- stlport/STLport-4.5-0119.patch.old	2009-02-20 21:44:17.000000000 +0100
++++ stlport/STLport-4.5-0119.patch	2009-03-16 19:58:59.000000000 +0100
+@@ -1326,3 +1326,14 @@
+  
+    explicit _DBG_vector(size_type __n)
+      : _STLP_DBG_VECTOR_BASE(__n), _M_iter_list((const _Base*)this) {}
++--- misc/STLport-4.5-0119/stlport/stl/_list.c	2001-05-11 04:20:07.000000000 +0200
+++++ misc/build/STLport-4.5-0119/stlport/stl/_list.c	2009-03-16 19:53:28.000000000 +0100
++@@ -82,7 +82,7 @@ void list<_Tp, _Alloc>::resize(size_type
++ {
++   iterator __i = begin();
++   size_type __len = 0;
++-  for ( ; __i != end() && __len < __new_size; ++__i, ++__len);
+++  for ( ; __i != end() && __len < __new_size; ++__i, ++__len) ;
++ 
++   if (__len == __new_size)
++     erase(__i, end());
+--- stlport/STLport-4.5.patch.old	2009-02-20 21:44:17.000000000 +0100
++++ stlport/STLport-4.5.patch	2009-03-16 19:54:57.000000000 +0100
+@@ -1045,3 +1045,14 @@
+  # elif defined (__FreeBSD__)
+  
+  # define _Locale_CNTRL _CTYPE_C
++--- misc/STLport-4.5/stlport/stl/_list.c	2001-05-11 04:20:07.000000000 +0200
+++++ misc/build/STLport-4.5/stlport/stl/_list.c	2009-03-16 19:53:28.000000000 +0100
++@@ -82,7 +82,7 @@ void list<_Tp, _Alloc>::resize(size_type
++ {
++   iterator __i = begin();
++   size_type __len = 0;
++-  for ( ; __i != end() && __len < __new_size; ++__i, ++__len);
+++  for ( ; __i != end() && __len < __new_size; ++__i, ++__len) ;
++ 
++   if (__len == __new_size)
++     erase(__i, end());



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]