Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-12-01 09:42:04

on Sat Dec 01 2007, Juergen Hunold <> wrote:

> I'm experimenting with the Boost.Python bindings and get the warning:
> boost/python/detail/unwind_type.hpp:152: warning: unused parameter 'p'
> when building my extension library with gcc. Full output "errort.txt"
> attached.
> My gcc is:
> gcc -v
> gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
> The attached patch "unwind_type.hpp.diff" fixes the problem for the "not
> msvc" case. All Boost.Python tests pass.
> Question: Ok to commit ?

Please do.

> The interesting thing is that this warning is not produced by _any_ of
> the existing test case.

Well, that's pretty interesting. It would be better if your patch
would also introduce *something* in one of the tests that triggers the
warning, if not a whole new test unto itself.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at