• <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 肥仔 閱讀(887) 評論(1)  編輯 收藏 引用 所屬分類: VC 存檔

            評論

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

            具體在VC中怎么設置呢?
            2009-02-27 17:29 | metal
            亚洲午夜久久久久久噜噜噜| 精品无码久久久久久久久久 | 精品久久久久久国产| 欧美牲交A欧牲交aⅴ久久 | 久久亚洲精品中文字幕| 久久久久久久97| 久久夜色撩人精品国产小说| 麻豆av久久av盛宴av| 美女写真久久影院| 精品久久久一二三区| 99久久亚洲综合精品网站| 女同久久| 久久国产精品久久精品国产| 久久中文字幕人妻丝袜| 青青青青久久精品国产h| 无码久久精品国产亚洲Av影片| 93精91精品国产综合久久香蕉| 国产成人精品综合久久久久| 99久久精品九九亚洲精品| 久久久久亚洲精品无码蜜桃 | 日产精品久久久久久久| 久久综合九色综合97_久久久| 天天爽天天狠久久久综合麻豆| 亚洲国产成人久久综合区| 99久久精品免费看国产| 国产精品久久久久国产A级| 中文精品久久久久人妻不卡| 亚洲精品tv久久久久| 国产激情久久久久影院老熟女| 77777亚洲午夜久久多喷| 久久人人妻人人爽人人爽| 久久人做人爽一区二区三区| 中文字幕精品久久久久人妻| 99久久99久久精品国产| 91精品国产综合久久香蕉| 亚洲乱亚洲乱淫久久| 久久精品一区二区三区不卡| 2020久久精品国产免费| 久久久久AV综合网成人| 久久久噜噜噜久久中文福利| 久久久久久亚洲AV无码专区|