Suppress a warning from SUN compilers when building exclusively for your native
authorjulie <julielangou@users.noreply.github.com>
Sun, 9 Jan 2011 19:30:36 +0000 (19:30 +0000)
committerjulie <julielangou@users.noreply.github.com>
Sun, 9 Jan 2011 19:30:36 +0000 (19:30 +0000)
platform.

- Chuck Atkins (Kitware)

CTestCustom.cmake.in

index c008060..ae3e30d 100644 (file)
@@ -29,4 +29,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
 
   # Harmless warning often seen on IRIX
   "WARNING 84 : .*libm.* is not used for resolving any symbol"
+
+  # Warnings caused by sun compilers when building code to only run on your 
+  # native platform
+  "xarch=native on this architecture implies -xarch=.*which generates code that does not run"
 )