summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testProcess.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-01 15:38:42 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-01 15:38:42 (GMT)
commitab61137eb177d9606ad3fa47b6b08d22b9993279 (patch)
treece57b66cd29b6dc1dab00d196eeeda84e8ef82a2 /Source/kwsys/testProcess.c
parent7776d18896bda01c743317dd45fd5c816e8f408a (diff)
downloadCMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.zip
CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.gz
CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.bz2
COMP: Fix and/or disable warnings for Borland 5.6 build.
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r--Source/kwsys/testProcess.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c
index f87f1e0..e9fc224 100644
--- a/Source/kwsys/testProcess.c
+++ b/Source/kwsys/testProcess.c
@@ -30,6 +30,10 @@
# include <unistd.h>
#endif
+#if defined(__BORLANDC__)
+# pragma warn -8060 /* possibly incorrect assignment */
+#endif
+
int runChild(const char* cmd[], int state, int exception, int value,
int share, int output, int delay, double timeout, int poll,
int repeat, int disown);
@@ -196,7 +200,6 @@ int test8_grandchild(int argc, const char* argv[])
return 0;
}
-
int runChild2(kwsysProcess* kp,
const char* cmd[], int state, int exception, int value,
int share, int output, int delay, double timeout,