• <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
            国内精品综合久久久40p| 国产午夜久久影院| 亚洲综合熟女久久久30p| 久久久久久久人妻无码中文字幕爆| 一本久久a久久精品亚洲| 久久亚洲欧美日本精品| 四虎影视久久久免费| 国产精品久久久福利| 亚洲精品国产第一综合99久久| 久久久久亚洲AV无码网站| 久久久久亚洲爆乳少妇无 | 久久99热只有频精品8| 久久亚洲精品视频| 亚洲精品国产美女久久久| 久久国产精品波多野结衣AV| 狠狠综合久久AV一区二区三区| 51久久夜色精品国产| 久久久久久久久久久久久久 | 国产精品一久久香蕉国产线看| 国产99久久久国产精品~~牛| 亚洲国产精品无码久久久蜜芽 | 久久婷婷是五月综合色狠狠| 久久国产亚洲精品麻豆| 狠狠色综合网站久久久久久久高清| 国产亚洲美女精品久久久| 一本色道久久综合| 亚洲日本久久久午夜精品| 国产成人精品久久亚洲| 精品国产91久久久久久久| 久久亚洲精品国产精品| 久久精品人人做人人爽电影| 久久99这里只有精品国产| 香蕉99久久国产综合精品宅男自| 久久频这里精品99香蕉久| 婷婷国产天堂久久综合五月| 色诱久久av| 国产精品美女久久福利网站| 亚洲国产精品综合久久网络| 香蕉久久AⅤ一区二区三区| 日韩AV毛片精品久久久| 久久性精品|