update dev300-m57
[ooovba.git] / applied_patches / 0223-stlport-gcc-warnings.diff
blobe181139e83a6871ce79332d38b11328e2354753e
1 --- stlport/STLport-4.5-0119.patch.old 2009-02-20 21:44:17.000000000 +0100
2 +++ stlport/STLport-4.5-0119.patch 2009-03-16 19:58:59.000000000 +0100
3 @@ -1326,3 +1326,14 @@
5 explicit _DBG_vector(size_type __n)
6 : _STLP_DBG_VECTOR_BASE(__n), _M_iter_list((const _Base*)this) {}
7 +--- misc/STLport-4.5-0119/stlport/stl/_list.c 2001-05-11 04:20:07.000000000 +0200
8 ++++ misc/build/STLport-4.5-0119/stlport/stl/_list.c 2009-03-16 19:53:28.000000000 +0100
9 +@@ -82,7 +82,7 @@ void list<_Tp, _Alloc>::resize(size_type
10 + {
11 + iterator __i = begin();
12 + size_type __len = 0;
13 +- for ( ; __i != end() && __len < __new_size; ++__i, ++__len);
14 ++ for ( ; __i != end() && __len < __new_size; ++__i, ++__len) ;
16 + if (__len == __new_size)
17 + erase(__i, end());
18 --- stlport/STLport-4.5.patch.old 2009-02-20 21:44:17.000000000 +0100
19 +++ stlport/STLport-4.5.patch 2009-03-16 19:54:57.000000000 +0100
20 @@ -1045,3 +1045,14 @@
21 # elif defined (__FreeBSD__)
23 # define _Locale_CNTRL _CTYPE_C
24 +--- misc/STLport-4.5/stlport/stl/_list.c 2001-05-11 04:20:07.000000000 +0200
25 ++++ misc/build/STLport-4.5/stlport/stl/_list.c 2009-03-16 19:53:28.000000000 +0100
26 +@@ -82,7 +82,7 @@ void list<_Tp, _Alloc>::resize(size_type
27 + {
28 + iterator __i = begin();
29 + size_type __len = 0;
30 +- for ( ; __i != end() && __len < __new_size; ++__i, ++__len);
31 ++ for ( ; __i != end() && __len < __new_size; ++__i, ++__len) ;
33 + if (__len == __new_size)
34 + erase(__i, end());