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.
This commit is contained in:
parent
a53e0168c3
commit
b947fc27d5
|
@ -21,7 +21,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
|
||||||
"Utilities.cmcurl"
|
"Utilities.cmcurl"
|
||||||
"Utilities.cmexpat."
|
"Utilities.cmexpat."
|
||||||
"Utilities.cmlibarchive"
|
"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"
|
"/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
|
||||||
"Redeclaration of .send..... with a different storage class specifier"
|
"Redeclaration of .send..... with a different storage class specifier"
|
||||||
"is not used for resolving any symbol"
|
"is not used for resolving any symbol"
|
||||||
|
|
Loading…
Reference in New Issue