Commit 9c653603 authored by Brad King's avatar Brad King 💬
Browse files

Process: Suppress IBM XL warning about infinite loop in test

IBM XL complains:

 1500-010: (W) WARNING in test6: Infinite loop.  Program may not stop.

Tell it to ignore this because the test does it intentionally.

Change-Id: Ic99ed35067e8ddecea289fffe20d5e119029fa0f
parent b1916e0a
......@@ -1225,6 +1225,9 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Some Apple compilers produce bad optimizations in this source.
IF(APPLE AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|LLVM)$")
SET_SOURCE_FILES_PROPERTIES(testProcess.c PROPERTIES COMPILE_FLAGS -O0)
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "XL")
# Tell IBM XL not to warn about our test infinite loop
SET_PROPERTY(SOURCE testProcess.c PROPERTY COMPILE_FLAGS -qsuppress=1500-010)
ENDIF()
# Test SharedForward
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment