Hi Adam,
Sorry for the late reply.
Adam Wulkiewicz wrote On 14-6-2014 16:57:
This would unexpected. So the ignore_unused_variable_warning really
uses the contents of the dummy pointer?
This creates an (empty) object every time, and access is called many
times in all our functions.
We should fix this by just removing the dummy variable name AND the
boost::ignore... statement.
Indeed it seems to work well without now (tried clang 3.0, gcc 4.6.3
and MSVC 2005). But I don't have all compilers we support. This code
dates from 2008, and I remember it was necessary at that time (might
be gcc indeed). We might try to drop it and look at the regression
matrix.
Regards, Barend