IVGCVSW-4246 Clean build of backends with -Wextra

Change-Id: I9e8d5576b3ec04c871785d5f2f9545bf1136e59b
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp
index 19b7615..ebcd1f6 100644
--- a/src/backends/reference/RefLayerSupport.cpp
+++ b/src/backends/reference/RefLayerSupport.cpp
@@ -648,6 +648,8 @@
                                                       const DetectionPostProcessDescriptor& descriptor,
                                                       Optional<std::string&> reasonIfUnsupported) const
 {
+    boost::ignore_unused(anchors, detectionBoxes, detectionClasses, detectionScores, numDetections, descriptor);
+
     bool supported = true;
 
     std::array<DataType,3> supportedInputTypes =
@@ -863,8 +865,8 @@
                                  reasonIfUnsupported);
 }
 
-bool RefLayerSupport::IsInputSupported(const TensorInfo& input,
-                                       Optional<std::string&> reasonIfUnsupported) const
+bool RefLayerSupport::IsInputSupported(const TensorInfo& /*input*/,
+                                       Optional<std::string&> /*reasonIfUnsupported*/) const
 {
     return true;
 }
@@ -1301,8 +1303,8 @@
     return supported;
 }
 
-bool RefLayerSupport::IsOutputSupported(const TensorInfo& output,
-                                        Optional<std::string&> reasonIfUnsupported) const
+bool RefLayerSupport::IsOutputSupported(const TensorInfo& /*output*/,
+                                        Optional<std::string&> /*reasonIfUnsupported*/) const
 {
     return true;
 }
@@ -1470,6 +1472,7 @@
                                         const ResizeDescriptor& descriptor,
                                         Optional<std::string&> reasonIfUnsupported) const
 {
+    boost::ignore_unused(descriptor);
     bool supported = true;
     std::array<DataType,4> supportedTypes =
     {
@@ -1524,7 +1527,7 @@
                                        const SliceDescriptor& descriptor,
                                        Optional<std::string&> reasonIfUnsupported) const
 {
-    ignore_unused(descriptor);
+    boost::ignore_unused(descriptor);
     bool supported = true;
 
     std::array<DataType, 3> supportedTypes =
@@ -1551,7 +1554,7 @@
                                          const SoftmaxDescriptor& descriptor,
                                          Optional<std::string&> reasonIfUnsupported) const
 {
-    ignore_unused(output);
+    boost::ignore_unused(descriptor);
     bool supported = true;
     std::array<DataType,4> supportedTypes =
     {
@@ -1578,7 +1581,7 @@
                                                 const SpaceToBatchNdDescriptor& descriptor,
                                                 Optional<std::string&> reasonIfUnsupported) const
 {
-    ignore_unused(output);
+    boost::ignore_unused(descriptor);
     bool supported = true;
     std::array<DataType,4> supportedTypes =
     {
@@ -1811,6 +1814,7 @@
                                                         const Optional<TensorInfo>& biases,
                                                         Optional<std::string&> reasonIfUnsupported) const
 {
+    boost::ignore_unused(descriptor);
     bool supported = true;
 
     std::array<DataType,4> supportedTypes =