update cpplib documentation for -finput-charset=
Geoffrey Keating
gkeating@apple.com
Fri Feb 24 00:00:00 GMT 2006
Self-explanatory. Tested with a bootstrap.
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-doc-inputcharset.patch================
2005-10-20 Geoffrey Keating <geoffk@apple.com>
* doc/cpp.texi (Character sets): Document that we do support
input files to be in any character set.
Index: gcc/doc/cpp.texi
===================================================================
--- gcc/doc/cpp.texi (revision 111372)
+++ gcc/doc/cpp.texi (working copy)
@@ -251,12 +251,8 @@
character set. It must be isomorphic with ISO 10646, also known as
Unicode. CPP uses the UTF-8 encoding of Unicode.
-At present, GNU CPP does not implement conversion from arbitrary file
-encodings to the source character set. Use of any encoding other than
-plain ASCII or UTF-8, except in comments, will cause errors. Use of
-encodings that are not strict supersets of ASCII, such as Shift JIS,
-may cause errors even if non-ASCII characters appear only in comments.
-We plan to fix this in the near future.
+The character sets of the input files are specified using the
+@option{-finput-charset=} option.
All preprocessing work (the subject of the rest of this manual) is
carried out in the source character set. If you request textual
============================================================
More information about the Gcc-patches
mailing list