Hi,

it seems someone already cleaned up the latest version quite a bit.  I
only found 2 places that generated warnings so far, so here is the patch
for these.

Best,
  Norbert


diff -ru /usr/include/stlport_orig/stl/_algobase.c 
/usr/include/stlport/stl/_algobase.c
--- /usr/include/stlport_orig/stl/_algobase.c   2007-09-09 02:12:28.000000000 
-0700
+++ /usr/include/stlport/stl/_algobase.c        2008-02-01 22:16:47.000000000 
-0800
@@ -371,7 +371,7 @@
 
 template <class _ForwardIter, class _Tp, class _Compare1, class _Compare2, 
class _Distance>
 _ForwardIter __lower_bound(_ForwardIter __first, _ForwardIter __last, const 
_Tp& __val,
-                           _Compare1 __comp1, _Compare2 __comp2, _Distance*) {
+                           _Compare1 __comp1, _Compare2, _Distance*) {
   _Distance __len = distance(__first, __last);
   _Distance __half;
   _ForwardIter __middle;
diff -ru /usr/include/stlport_orig/stl/_locale.h 
/usr/include/stlport/stl/_locale.h
--- /usr/include/stlport_orig/stl/_locale.h     2007-02-12 12:59:34.000000000 
-0800
+++ /usr/include/stlport/stl/_locale.h  2008-02-01 22:17:24.000000000 -0800
@@ -308,11 +308,11 @@
 #endif
 
 template <class _Facet>
-bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW
+bool _HasFacet(const locale& __loc, const _Facet*) _STLP_NOTHROW
 { return (__loc._M_get_facet(_Facet::id) != 0); }
 
 template <class _Facet>
-_Facet* _UseFacet(const locale& __loc, const _Facet* __facet)
+_Facet* _UseFacet(const locale& __loc, const _Facet*)
 { return __STATIC_CAST(_Facet*, __loc._M_use_facet(_Facet::id)); }
 
 _STLP_END_NAMESPACE





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to