tests: fix InferenceTestImage app build error
authorInki Dae <inki.dae@samsung.com>
Fri, 22 Jun 2018 09:20:00 +0000 (18:20 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Mar 2021 05:15:02 +0000 (14:15 +0900)
Signed-off-by: Inki Dae <inki.dae@samsung.com>
tests/InferenceTestImage.cpp

index bb1f5c2..14f2042 100644 (file)
 
 #include <array>
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
+#pragma GCC diagnostic ignored "-Wconversion"
+#pragma GCC diagnostic ignored "-Wsign-conversion"
+#pragma GCC diagnostic ignored "-Wfloat-conversion"
+
 #define STB_IMAGE_IMPLEMENTATION
 #include <stb/stb_image.h>
 
@@ -19,7 +25,8 @@
 #include <stb/stb_image_resize.h>
 
 #define STB_IMAGE_WRITE_IMPLEMENTATION
-#include <stb/stb_image_write.h>
+#include <stb_image_write.h>
+#pragma GCC diagnostic pop
 
 namespace
 {