aboutsummaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>2000-01-07 00:42:12 +0000
committerMumit Khan <khan@gcc.gnu.org>2000-01-07 00:42:12 +0000
commitee77eda571f5a82d2836c83c5a62914669397b73 (patch)
treef5462c54de7c35870a4529f9d01b393ac00924b3 /gcc/invoke.texi
parentd5b6516da59be3d5c0481f7982a2f7deb0e398bb (diff)
downloadgcc-ee77eda571f5a82d2836c83c5a62914669397b73.zip
gcc-ee77eda571f5a82d2836c83c5a62914669397b73.tar.gz
gcc-ee77eda571f5a82d2836c83c5a62914669397b73.tar.bz2
protoize.c: Conditionally include unistd.h.
2000-01-06 Mumit Khan <khan@xraylith.wisc.edu> * protoize.c: Conditionally include unistd.h. (IS_SAME_PATH_CHAR): New macro. (IS_SAME_PATH): New macro. (CPLUS_FILE_SUFFIX): New macro. (cplus_suffix): New static variable. (is_abspath): New static function. (in_system_include_dir): Handle DOS style pathnames. (file_could_be_converted): Likewise. (file_normally_convertible): Likewise. (directory_specified_p): Likewise. (file_excluded_p): Likewise. (abspath): Likewise. (shortpath): Likewise. (referenced_file_is_newer): Likewise. (save_def_or_dec): Likewise. (do_processing): Likewise. (main): Likewise. (edit_file): Likewise. Use rename instead of link. (rename_c_file): Likewise. Don't rename syscalls file. (munge_compile_params): Define null device for DOS based systems. (process_aux_info_file): Use binary mode if appliable. (edit_file): Likewise. * invoke.texi (Running Protoize): Document C++ suffixes used. From-SVN: r31265
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 25dd6ed..549ece1 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -7429,9 +7429,9 @@ would produce the wrong kind of output. These include @samp{-g},
the @var{compilation-options}, they are ignored.
@item -C
-Rename files to end in @samp{.C} instead of @samp{.c}.
-This is convenient if you are converting a C program to C++.
-This option applies only to @code{protoize}.
+Rename files to end in @samp{.C}, or @samp{.cc} for DOS-based file
+systems, instead of @samp{.c}. This is convenient if you are converting
+a C program to C++. This option applies only to @code{protoize}.
@item -g
Add explicit global declarations. This means inserting explicit