This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: FYI: fix PR libcpp/15500
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Apr 2008 11:52:14 -0600
- Subject: Patch: FYI: fix PR libcpp/15500
- Reply-to: Tom Tromey <tromey at redhat dot com>
I'm checking this in.
This is a minor documentation patch to address PR 15500.
Basically, one section of the cpp docs incorrectly claims that cpp
requires input in UTF-8 or ASCII.
Tested by rebuilding the info files.
Tom
ChangeLog:
2008-04-18 Tom Tromey <tromey@redhat.com>
PR libcpp/15500:
* doc/cpp.texi (Implementation-defined behavior): Mention
-finput-charset.
Index: doc/cpp.texi
===================================================================
--- doc/cpp.texi (revision 134333)
+++ doc/cpp.texi (working copy)
@@ -11,7 +11,7 @@
@copying
@c man begin COPYRIGHT
Copyright @copyright{} 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
-1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
@@ -3857,9 +3857,10 @@
@item The mapping of physical source file multi-byte characters to the
execution character set.
-Currently, CPP requires its input to be ASCII or UTF-8. The execution
-character set may be controlled by the user, with the
-@option{-fexec-charset} and @option{-fwide-exec-charset} options.
+The input character set can be specified using the
+@option{-finput-charset} option, while the execution character set may
+be controlled using the @option{-fexec-charset} and
+@option{-fwide-exec-charset} options.
@item Identifier characters.
@anchor{Identifier characters}