diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-06 21:48:04 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-06 21:48:04 +0000 |
commit | 3ae167a5e9d819407fa4a05f0d518b25265d76bf (patch) | |
tree | 5ec27b869b80ab5e84a381932afb8d7df29634aa /ChangeLog | |
parent | a7b3c4626215b3e743ad4a092ac8619f192a6437 (diff) | |
download | ATCD-3ae167a5e9d819407fa4a05f0d518b25265d76bf.tar.gz |
ChangeLogTag:Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index a7c657dcda6..af5d2b4ff67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,40 @@ +Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu> + + * ace/OS.h: Reverted my previous "fix" to the argv argument type. + + Mon Jan 21 23:27:03 2002 Nanbor Wang <nanbor@cs.wustl.edu> + + A program entry poing <code>main</code> can take any of the + three forms: + + int main (int argc, char *argv[]) + int wmain (int argc, wchar_t *argv[]) + int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) + + Of them, the entry point <code>main</code> always gives you + the command line arguemnt in char strings form. The entry + point <code>wmain</code> currently can only be used under + Win32 and it returns the command line arguments in wchar + strings format. Defining the <code>ACE_TMAIN</code> as the + program entry point is the more portable form. The command + line arguments are given in char strings in most cases, + or wchar strings when <code>ACE_USES_WCHAR</code> is defined. + See <code>$ACE_ROOT/docs/wchar.txt</code> for more information + on ACE support on wchar. + + * docs/ACE-guidelines.html: Added a new guideline explaining which + main entry point to use, as above. + + * bin/main2TMAIN.pl: Script to replace entry points of the form + + main (int, ACE_TCHAR *[]) + + to + + ACE_TMAIN (int, ACE_TCHAR *[]) + + * *.cpp: Changed to use the new ACE_TMAIN. + Tue Mar 06 14:30:12 2002 Johnny Willemsen <jwillemsen@remedy.nl> * tests/MEM_Stream_Test.cpp: |