Browse Source

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
KWSys Upstream 4 years ago
parent
commit
18513fa118
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ProcessUNIX.c

+ 4 - 0
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.  */