summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-18 09:19:59 -0400
committerBrad King <brad.king@kitware.com>2015-05-18 09:25:51 -0400
commit639620eec43e0241930cd454248d93a7b43c1fdf (patch)
tree7ca6159f77a062f2695056282b3ed7f666938ac0 /CTestCustom.cmake.in
parent09a3d21d712a80a94b9a90c10519a42dbee114ae (diff)
downloadcmake-639620eec43e0241930cd454248d93a7b43c1fdf.tar.gz
CTestCustom: Suppress HP-UX preprocessor concatenation warning
The HP compiler on HP-UX 11.11 warns: Warning (anachronism) 823: ".../test_INT_format.h", line 194 # Redundant preprocessing concatenation operation results in two valid preprocessing tokens. Depending on this implementation defined behavior will result in non-portable code. TEST_C(INT32_C, -0x55000000, i32, int32_t, uint32_t) ^^^^^^ Warning (anachronism) 823: ".../test_INT_format.h", line 196 # Redundant preprocessing concatenation operation results in two valid preprocessing tokens. Depending on this implementation defined behavior will result in non-portable code. TEST_C(INT64_C, -0x5500000000000000, i64, int64_t, uint64_t) ^^^^^^ There is likely a subtle problem with the way one of the system-provided type macros is defined but the test passes despite the warning. Simply suppress it.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index cc2fbb8fc0..7f20d10628 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -37,6 +37,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
"LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
"LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
"LINK : warning LNK4089: all references to.*ole32.dll.*discarded by /OPT:REF"
+ "Warning.*: .*/Utilities/KWIML/test/test_INT_format.h.* # Redundant preprocessing concatenation"
"Warning: library was too large for page size.*"
"Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
"Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"