summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-22 05:55:55 +0000
committerkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-22 05:55:55 +0000
commit414812a6701903ae76d04048be66734a5f3ddc67 (patch)
tree277747a6a61b8c086fd17959db2ef51eae79fb17
parentd314cdc5667d388b39f4f85f7567d0aa089f0879 (diff)
downloadATCD-414812a6701903ae76d04048be66734a5f3ddc67.tar.gz
ChangeLogTag: Fri Jun 22 00:26:34 2001 Krishnakumar B <kitty@cs.wustl.edu>
-rw-r--r--ChangeLog12
-rw-r--r--ChangeLogs/ChangeLog-02a12
-rw-r--r--ChangeLogs/ChangeLog-03a12
-rw-r--r--examples/IOStream/client/iostream_client.cpp6
-rw-r--r--examples/IOStream/server/iostream_server.cpp2
-rw-r--r--examples/Log_Msg/test_ostream.cpp2
6 files changed, 43 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c82a64b6af1..d568035beaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Fri Jun 22 00:26:34 2001 Krishnakumar B <kitty@cs.wustl.edu>
+
+ * examples/Log_Msg/test_ostream.cpp (main):
+
+ Changed the type of flags to ios::openmode from int to fix
+ errors under gcc-3.0.
+
+ * examples/IOStream/client:
+ * examples/IOStream/server:
+
+ Added ACE_UNUSED_ARG to fix a couple of warnings.
+
Thu Jun 21 13:57:09 2001 Chad Elliott <elliott_c@ociweb.com>
* apps/JAWS/clients/Caching/http_handler.h:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index c82a64b6af1..d568035beaf 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,15 @@
+Fri Jun 22 00:26:34 2001 Krishnakumar B <kitty@cs.wustl.edu>
+
+ * examples/Log_Msg/test_ostream.cpp (main):
+
+ Changed the type of flags to ios::openmode from int to fix
+ errors under gcc-3.0.
+
+ * examples/IOStream/client:
+ * examples/IOStream/server:
+
+ Added ACE_UNUSED_ARG to fix a couple of warnings.
+
Thu Jun 21 13:57:09 2001 Chad Elliott <elliott_c@ociweb.com>
* apps/JAWS/clients/Caching/http_handler.h:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index c82a64b6af1..d568035beaf 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,15 @@
+Fri Jun 22 00:26:34 2001 Krishnakumar B <kitty@cs.wustl.edu>
+
+ * examples/Log_Msg/test_ostream.cpp (main):
+
+ Changed the type of flags to ios::openmode from int to fix
+ errors under gcc-3.0.
+
+ * examples/IOStream/client:
+ * examples/IOStream/server:
+
+ Added ACE_UNUSED_ARG to fix a couple of warnings.
+
Thu Jun 21 13:57:09 2001 Chad Elliott <elliott_c@ociweb.com>
* apps/JAWS/clients/Caching/http_handler.h:
diff --git a/examples/IOStream/client/iostream_client.cpp b/examples/IOStream/client/iostream_client.cpp
index 3c2e37b7452..47c2413c748 100644
--- a/examples/IOStream/client/iostream_client.cpp
+++ b/examples/IOStream/client/iostream_client.cpp
@@ -10,7 +10,7 @@ ACE_RCSID(client, iostream_client, "$Id$")
// ACE_Streambuf_T templates to create an object based on ACE_*_Stream
// classes, which mimic a C++ iostream.
-int
+int
main (int argc, char *argv[])
{
#if !defined (ACE_LACKS_ACE_IOSTREAM)
@@ -29,7 +29,7 @@ main (int argc, char *argv[])
-1);
// Buffer up some things to send to the server.
- server << "1 2.3 testing" << endl;
+ server << "1 2.3 testing" << endl;
int i;
float f;
@@ -58,6 +58,8 @@ main (int argc, char *argv[])
"close"),
-1);
#else
+ ACE_UNUSED_ARG (argc);
+ ACE_UNUSED_ARG (argv);
ACE_ERROR ((LM_ERROR, "ACE_IOSTREAM not supported on this platform\n"));
#endif /* !ACE_LACKS_ACE_IOSTREAM */
return 0;
diff --git a/examples/IOStream/server/iostream_server.cpp b/examples/IOStream/server/iostream_server.cpp
index 422eeb17ba9..e82e069a6cc 100644
--- a/examples/IOStream/server/iostream_server.cpp
+++ b/examples/IOStream/server/iostream_server.cpp
@@ -121,6 +121,8 @@ main (int argc, char *argv [])
"(%P) shutting down server daemon\n"));
#else
+ ACE_UNUSED_ARG (argc);
+ ACE_UNUSED_ARG (argv);
ACE_ERROR ((LM_ERROR, "ACE_IOSTREAM not supported on this platform\n"));
#endif /* !ACE_LACKS_ACE_IOSTREAM */
return 0;
diff --git a/examples/Log_Msg/test_ostream.cpp b/examples/Log_Msg/test_ostream.cpp
index 098e5de05a0..604366d4622 100644
--- a/examples/Log_Msg/test_ostream.cpp
+++ b/examples/Log_Msg/test_ostream.cpp
@@ -46,7 +46,7 @@ main (int, char *[])
#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
// Create a persistent store.
const char *filename = "output";
- int flags = ios::out | ios::trunc;
+ ios::openmode flags = ios::out | ios::trunc;
ofstream myostream (filename, flags);
// Check for errors.