diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in
index 9e55e19dc9cae87d34eb32fa690c9084ca3bf5db..e316bb571abb895f2e4a0560ac71cd37e1f36ec7 100644
--- a/CMake/CTestCustom.cmake.in
+++ b/CMake/CTestCustom.cmake.in
@@ -50,6 +50,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
   "ranlib:.*file:.*has no symbols"
   "ranlib: file: .+ has no symbols"
   "libtool:.*file:.*has no symbols"
+  "itkIOCommonTest.cxx:.*warning:.* is deprecated"
+  "Fl_Image.H:.*warning:.*dereferencing type-punned pointer will break strict-aliasing rules.*"
   )
 
 IF(APPLE)