Package: libboost-dev
Version: 1.33.0-1
Severity: minor
Tags: upstream patch

Hi,

I'm using boost.python, and for every one of my source files I get a
compiler warning from /usr/include/boost/tuple/detail/tuple_basic.hpp.

Unfortunately this compiler warning is about 100 lines long, and so it's
really quite hard to find warnings in my own code amongst all the noise.

It should be a trivial fix.  The warning is:

    /usr/include/boost/tuple/detail/tuple_basic.hpp:366: warning: unused
    parameter 't1'

It should just be a matter of removing the unused variable name.  The
(one-line) patch is included below:



--- /usr/include/boost/tuple/detail/tuple_basic.hpp     2004-10-18 
16:03:18.000000000 +1000
+++ tuple_basic.hpp     2005-09-08 14:20:51.000000000 +1000
@@ -362,7 +362,7 @@
 
   template <class T2, class T3, class T4, class T5,
             class T6, class T7, class T8, class T9, class T10>
-  cons( const null_type& t1, T2& t2, T3& t3, T4& t4, T5& t5,
+  cons( const null_type&, T2& t2, T3& t3, T4& t4, T5& t5,
         T6& t6, T7& t7, T8& t8, T9& t9, T10& t10 )
     : head (),
       tail (t2, t3, t4, t5, t6, t7, t8, t9, t10, detail::cnull())



Thanks - Ben.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686-smp
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages libboost-dev depends on:
ii  libstdc++5-3.3-dev [libstdc++ 1:3.3.6-9  The GNU Standard C++ Library v3 (d
ii  libstdc++6-4.0-dev [libstdc++ 4.0.1-6    The GNU Standard C++ Library v3 (d
ii  libstdc++6-dev [libstdc++-dev 3.4.4-8    The GNU Standard C++ Library v3 (d

libboost-dev recommends no packages.

-- no debconf information


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

Reply via email to