summaryrefslogtreecommitdiff
path: root/TAO/tests/QtTests/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/QtTests/server.cpp')
-rwxr-xr-xTAO/tests/QtTests/server.cpp23
1 files changed, 8 insertions, 15 deletions
diff --git a/TAO/tests/QtTests/server.cpp b/TAO/tests/QtTests/server.cpp
index 69f3495e56f..457e701dedf 100755
--- a/TAO/tests/QtTests/server.cpp
+++ b/TAO/tests/QtTests/server.cpp
@@ -5,15 +5,6 @@
ACE_RCSID (QtTests, server, "$Id$")
-int
-main (int, char *[])
-{
- ACE_ERROR ((LM_INFO,
- "Qt not supported on this platform\n"));
- return 0;
-}
-
-#else
// who defines index macro?
#ifdef index
#undef index
@@ -42,12 +33,14 @@ parse_args (int argc, char *argv[])
case '?':
default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "-o <iorfile>"
- "\n",
- argv [0]),
- -1);
+ // ignore the first unknown option
+ return 0;
+// ACE_ERROR_RETURN ((LM_ERROR,
+// "usage: %s "
+// "-o <iorfile>"
+// "\n",
+// argv [0]),
+// -1);
}
// Indicates sucessful parsing of the command line
return 0;