summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-21 09:48:35 -0500
committerBrad King <brad.king@kitware.com>2016-01-07 13:44:46 -0500
commitb947fc27d5e8c54b2e4cd58c6c9b22b34a843039 (patch)
treea194cff4d71013297e191eaa7db993dbcae91f61 /CTestCustom.cmake.in
parenta53e0168c344111de301ad67498ad89862b58cdf (diff)
downloadcmake-b947fc27d5e8c54b2e4cd58c6c9b22b34a843039.tar.gz
CTestCustom: Suppress -Wshadow warning about Solaris 'single' typedef
On Solaris the system `/usr/include/floatingpoint.h` header contains typedef float single; so the GNU compiler warns that uses of the name `single` shadow it. Just suppress the warning because our uses of this name would become less readable with a different name.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index db64559bb0..abef692147 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -21,7 +21,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"Utilities.cmcurl"
"Utilities.cmexpat."
"Utilities.cmlibarchive"
- "/usr/include.*warning.*shadowed declaration is here"
+ "warning: declaration of .single. shadows a global declaration"
+ "/usr/include.*(warning|note).*shadowed declaration is here"
"/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
"Redeclaration of .send..... with a different storage class specifier"
"is not used for resolving any symbol"