• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            woaidongmao

            文章均收錄自他人博客,但不喜標題前加-[轉貼],因其丑陋,見諒!~
            隨筆 - 1469, 文章 - 0, 評論 - 661, 引用 - 0
            數據加載中……

            VC中得到預編譯后代碼

            /P   (Preprocess to a File)

            HomeOverviewHow Do ICompiler Options

            This option writes preprocessor output to a file with the same base name as the source file, but with the .I extension. It adds #line directives to the output file at the beginning and end of each included file and around lines removed by preprocessor directives that specify conditional compilation. The preprocessed listing file is identical to the original source file, except that all preprocessor directives are carried out, and macro expansions are performed.

            This option suppresses compilation; CL does not produce an .OBJ file, even if the /Fo option is specified. The /P option also suppresses production of the alternate output files created by the /FA, /Fa, or /Fm option.

            The /P option is similar to the /E and /EP options. Using /EP with /P suppresses placement of #line directives in the output file.

            The following table summarizes the actions of the /E, /EP, and /P options.

            Option Preprocessor output
            includes #line directives?
            Output sent to
            /E Yes stdout
            /P Yes .i file
            /EP No stdout
            /E  /EP No stdout
            /P  /EP No .i file



            Send feedback to MSDN. Look here for MSDN Online resources.

            1、一般用/P  /EP,這樣就沒有#line了,生成的是.i文件

            2、利用這個,可以看有很多復雜宏,預編譯之后的源代碼,比如stl, boost等,#include的代碼和相關代碼,都會是被剝離后的,出現在同一個文件里,這個對于閱讀代碼比較有用。

            posted on 2008-05-09 14:52 肥仔 閱讀(891) 評論(1)  編輯 收藏 引用 所屬分類: VC 存檔

            評論

            # re: VC中得到預編譯后代碼  回復  更多評論   

            具體在VC中怎么設置呢?
            2009-02-27 17:29 | metal
            久久精品18| 日产精品久久久一区二区| 国产成人精品久久| 久久伊人色| 久久夜色精品国产欧美乱| 97精品国产97久久久久久免费| 久久亚洲精品无码观看不卡| 欧美黑人激情性久久| 久久99精品久久久久久秒播| 亚洲精品无码久久久久去q| 激情综合色综合久久综合| 伊人久久大香线蕉综合Av| 久久久久亚洲AV成人网人人网站 | 精品综合久久久久久97超人| 精品欧美一区二区三区久久久| 久久久久久久久久久久中文字幕| 久久久精品人妻无码专区不卡| 99国产欧美精品久久久蜜芽 | 久久久久香蕉视频| 久久精品国产一区| 久久久久久亚洲Av无码精品专口| 中文精品99久久国产| 久久精品国产欧美日韩| 青青草原综合久久大伊人精品| 亚洲精品无码久久千人斩| 天天综合久久一二三区| 久久久WWW免费人成精品| 久久久久久狠狠丁香| 久久久久久久尹人综合网亚洲| 精品无码久久久久国产| 无遮挡粉嫩小泬久久久久久久| 99精品久久久久久久婷婷| 精品多毛少妇人妻AV免费久久 | 国内精品久久久久久不卡影院| 久久99久久99精品免视看动漫| 日韩精品久久久久久久电影蜜臀 | 内射无码专区久久亚洲| 久久午夜无码鲁丝片午夜精品| 久久久网中文字幕| 亚洲午夜无码AV毛片久久| 亚洲伊人久久综合影院|