Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment