- 论坛徽章:
- 0
|
在看GNU CPP(C preprocessor)手册的时候,有如下一段话:
After preprocessing is complete, string and character constants are converted again, into the execution character set.
This character set is under control of the user; the default is UTF-8, matching the source character set.
这里说的under control of the user应该指的就是-fexec-charset=选项。但是,string and character constants are converted again, into the execution character set.这个按照它说的应该是在预处理完成之后,即compilation proper阶段(预处理之后的编译阶段)做的事情。那-fexec-charset=就应该不是一个控制cpp的选项,应该是一个控制compilation proper的选项。可为什么在GCC手册里,-fexec-charset=却被放在了3.11 Options Controlling the Preprocessor这一节里?成了一个控制cpp的选项。
弄不明白,希望大家指点。 |
|