• <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
            久久久精品2019免费观看| 99久久久国产精品免费无卡顿| 99久久精品国产一区二区三区| 狠狠色综合网站久久久久久久| 伊人久久精品影院| 老司机国内精品久久久久| 国产精品久久久久免费a∨| 99久久精品毛片免费播放| 伊人久久大香线蕉精品不卡| 久久精品成人免费看| 国内精品久久久久久久久电影网| 一级做a爰片久久毛片人呢| 麻豆精品久久久久久久99蜜桃| 热久久国产精品| 国产成人无码久久久精品一| 婷婷久久五月天| 久久久久亚洲精品无码网址| 国产精品一久久香蕉国产线看观看| 久久久久国产亚洲AV麻豆| 精品久久久久久久久中文字幕| 三级三级久久三级久久| 久久亚洲AV无码西西人体| 伊人久久大香线蕉影院95| 久久久久久免费一区二区三区| 久久永久免费人妻精品下载| 亚洲欧洲久久av| 亚洲精品综合久久| 伊人久久一区二区三区无码| 久久综合日本熟妇| 综合久久精品色| 国内精品久久国产| 久久精品国产AV一区二区三区| 久久国产精品一区| 人妻无码久久精品| 日本精品久久久久久久久免费| 久久久国产精华液| 日本亚洲色大成网站WWW久久 | 久久久高清免费视频| 亚洲欧洲久久久精品| 久久人人爽人人爽人人片AV不| 久久精品国产99久久久|