summaryrefslogtreecommitdiffstats
path: root/ProcessUNIX.c
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2021-04-29 13:09:55 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-29 13:45:42 (GMT)
commit18513fa1185f3f2b28f3c4de5ae3f69c9ec9e5cb (patch)
treeb23e06fd3c466c5250aafb7651e96311275635e9 /ProcessUNIX.c
parent1ba07ff0f87101da9c7b35eee3f91a2c1cb0f86f (diff)
downloadCMake-18513fa1185f3f2b28f3c4de5ae3f69c9ec9e5cb.zip
CMake-18513fa1185f3f2b28f3c4de5ae3f69c9ec9e5cb.tar.gz
CMake-18513fa1185f3f2b28f3c4de5ae3f69c9ec9e5cb.tar.bz2
KWSys 2021-04-29 (5655d533)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 5655d533a9a4fb59b87d364c896339f1d454d420 (master). Upstream Shortlog ----------------- Brad King (1): 6e59fd94 Process: Suppress NVHPC warning in FD_ZERO
Diffstat (limited to 'ProcessUNIX.c')
-rw-r--r--ProcessUNIX.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ProcessUNIX.c b/ProcessUNIX.c
index e1e7721..5ae846a 100644
--- a/ProcessUNIX.c
+++ b/ProcessUNIX.c
@@ -122,6 +122,10 @@ static inline void kwsysProcess_usleep(unsigned int msec)
/* The maximum amount to read from a pipe at a time. */
#define KWSYSPE_PIPE_BUFFER_SIZE 1024
+#if defined(__NVCOMPILER)
+# pragma diag_suppress 550 /* variable set but never used (in FD_ZERO) */
+#endif
+
/* Keep track of times using a signed representation. Switch to the
native (possibly unsigned) representation only when calling native
functions. */