any macro for silencing unused variable warnings?

Hi, Is there in Boost a macro for disabling warnings about unused variables? (In case I intend my variable never to be used). Regards, &rzej

On 26 April 2014 21:29, Andrzej Krzemienski <akrzemi1@gmail.com> wrote:
Hi, Is there in Boost a macro for disabling warnings about unused variables? (In case I intend my variable never to be used).
What about the ignore_unused_variable_warning template function in <boost/concept_check.hpp>? Best regards, -- Mateusz Łoskot, http://mateusz.loskot.net

On Sat, Apr 26, 2014 at 11:29 PM, Andrzej Krzemienski <akrzemi1@gmail.com> wrote:
Hi, Is there in Boost a macro for disabling warnings about unused variables? (In case I intend my variable never to be used).
I have this: http://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/BOOST_LOG_UNUSED_VARI...
participants (3)
-
Andrey Semashev
-
Andrzej Krzemienski
-
Mateusz Łoskot