When building for Linux, 'boost::ignore_unused()' should be used to suppress
the following error :-
error: unused parameter 's' [-Werror=unused-parameter]
Change-Id: I9ecfe93c75ee4117eb6d2e1e75442179cee9fec9
#endif
#include <boost/assert.hpp>
-
+#include <boost/core/ignore_unused.hpp>
namespace armnn
{
#if defined(_MSC_VER)
OutputDebugString(s.c_str());
OutputDebugString("\n");
-#endif
-#if defined(__ANDROID__)
+#elif defined(__ANDROID__)
__android_log_write(ANDROID_LOG_DEBUG, "armnn", s.c_str());
+#else
+ boost::ignore_unused(s);
#endif
}
};