From bab9052627bec7a088f3163d7cea9b564fac3bda Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Mon, 29 Mar 2004 07:27:16 +0000 Subject: [PATCH] Corrected the signature of the main() function. [SVN r2088] --- ChangeLog | 3 +++ samples/list_includes/list_includes.cpp | 2 +- samples/waveidl/idl.cpp | 2 +- tool/cpp.cpp | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c903eb7..19b4a13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,9 @@ TODO (known issues): - Fix the trigraph backslash problem in the re2c (C/C++ and IDL) scanners, if there is the end of the (internal) buffer just in between a '??/' and a '\n'. +Mon Mar 29 09:36:59 WEDT 2004 +- Corrected the signature of the main() functions (was main(int, char const*[])). + Sun Mar 28 12:55:59 WEDT 2004 Version 1.1.4 - Fixed a problem, where the first returned token was lost, whenever a diff --git a/samples/list_includes/list_includes.cpp b/samples/list_includes/list_includes.cpp index 29819c6..c8a5e2d 100644 --- a/samples/list_includes/list_includes.cpp +++ b/samples/list_includes/list_includes.cpp @@ -248,7 +248,7 @@ boost::wave::util::file_position_t current_position; /////////////////////////////////////////////////////////////////////////////// // here we go! int -main (int argc, char const *argv[]) +main (int argc, char *argv[]) { try { // analyze the command line options and arguments diff --git a/samples/waveidl/idl.cpp b/samples/waveidl/idl.cpp index 3120e85..15b4bd2 100644 --- a/samples/waveidl/idl.cpp +++ b/samples/waveidl/idl.cpp @@ -421,7 +421,7 @@ boost::wave::util::file_position_t current_position; /////////////////////////////////////////////////////////////////////////////// // main entry point int -main (int argc, char const *argv[]) +main (int argc, char *argv[]) { try { // analyze the command line options and arguments diff --git a/tool/cpp.cpp b/tool/cpp.cpp index 94dc3a5..6ece7fa 100644 --- a/tool/cpp.cpp +++ b/tool/cpp.cpp @@ -537,7 +537,7 @@ boost::wave::util::file_position_t current_position; /////////////////////////////////////////////////////////////////////////////// // main entry point int -main (int argc, char const *argv[]) +main (int argc, char *argv[]) { try { // analyze the command line options and arguments