Jun She's profile路在脚下BlogListsGuestbookMore Tools Help

Blog


    1/23/2006

    回家了

    辛苦了父亲,那么冷,去南昌接我。
    1/14/2006

    延安整风--红太阳是怎样升起的

    读完了高华先生的这部专著,心里是一阵阵的寒意。历史是人写的,我还无知,不能对这部书做什么评论。全国数以千万的中共党员,对党的历史,又知晓多少呢?
     
    突然想起入党时,写志愿书闹的笑话。当时,“三个代表”还没有大行其道的时候,一个对政治颇有建树的叔叔从羊城晚报上看到了,并让我写入了入党志愿书,结果,我们当时的支部书记说这个有问题,让我删掉了,呵呵
    1/10/2006

    什么都有人收集

    发信人: snakehope (格物致知), 板面: Photography
    标  题: [转载] 来个震撼的列表
    发信站: 飘渺水云间 (Tue Jan 10 20:57:33 2006), 转信

    【 以下文字转载自 Optical 讨论区 】                                                                                    
    【 原文由 clement 所发表 】                                                                                            
    zz from MaZha

    300多个88id的blog,看来spaces占据了绝对的主流。。。

    aBin           http://spaces.msn.com/members/abin
    adams          http://spaces.msn.com/members/adamsjin/
    aDang          http://spaces.msn.com/members/JhonLiu
    adeng          http://spaces.msn.com/members/adeng/
    Adieu          http://spaces.msn.com/members/adieuyxq/
    adoal          http://spaces.msn.com/members/adoal/
    aimer          http://spaces.msn.com/members/myaimer
    alpha          http://spaces.msn.com/members/alphauiuc/
    ammmmh         http://spaces.msn.com/members/ammmmh/
    andi           http://levi.yculblog.com/
    andyfires      http://spaces.msn.com/members/andyfires/
    AndySpirit     http://spaces.msn.com/members/AndyHu1007
    angelus        http://spaces.msn.com/members/nocking
    anitar         http://spaces.msn.com/members/anitarff/
    Anval          http://spaces.msn.com/members/anvalhyq/
    AoAoer         http://spaces.msn.com/members/aoaoer/
    Aphrodite      http://spaces.msn.com/members/leowee/
    apple          http://spaces.msn.com/members/icyeve/
    applepie       http://spaces.msn.com/members/applepiepie/
    ApplyNTimes    http://spaces.msn.com/members/applyntimes/
    Apriliar       http://spaces.msn.com/members/apriliar/
    ArtWalker      http://spaces.msn.com/members/artwalker/
    arzhu          http://spaces.msn.com/members/LeoZhuJiang
    augus          http://spaces.msn.com/members/august17/
    autumncool     http://spaces.msn.com/members/zqs
    Aya            http://spaces.msn.com/members/jnraya/
    baggio         http://spaces.msn.com/members/hitma/
    baibai         http://spaces.msn.com/members/HanBaibai/
    balak          http://spaces.msn.com/members/zhangjiexi
    banbanyy       http://spaces.msn.com/members/banbanyy/
    becky&shuai    http://www.blogcn.com/user38/beckyyy/index.html
    Becool         http://spaces.msn.com/members/zhanghuangzhu
    BeTrue         http://spaces.msn.com/members/betruelee/
    binaryxie      http://jan.yculblog.com/
    binghe         http://spaces.msn.com/members/cmuc/
    binghuo        http://spaces.msn.com/members/isisisisis/
    bioperl        http://spaces.msn.com/members/doublejet/
    bIp            http://spaces.msn.com/members/wb0106/
    BlueDanube     http://spaces.msn.com/members/hsinkao/
    bluehero       http://spaces.msn.com/members/hexingjie/
    brightmornin   http://spaces.msn.com/members/brightmornin/
    butfly         http://spaces.msn.com/members/butfly/
    bwfyy          http://spaces.msn.com/members/bwfyy/
    caigoal        http://spaces.msn.com/members/caihualin/
    Campelli       http://spaces.msn.com/members/campelli1984/
    cancers        http://spaces.msn.com/members/wanglucn/
    catcat         http://spaces.msn.com/members/helenccy
    Chian          http://spaces.msn.com/members/jemychian/
    chrisf         http://spaces.msn.com/members/infirechris/
    coho           http://spaces.msn.com/members/weihongqian/
    cookiecc       http://pilipala.yculblog.com/
    coolrabbit     http://coolrabbit.tianyablog.com/
    CorZ           http://spaces.msn.com/members/bluec/
    crystaldoll    http://spaces.msn.com/members/crystaldollQQ/
    daruo          http://spaces.msn.com/members/daruo1984/
    davve          http://spaces.msn.com/members/DavveHall/
    dawan          http://www.blogcn.com/user41/dawanhua/index.html
    dawenxi        http://spaces.msn.com/members/rex0073
    debbie         http://spaces.msn.com/members/debbiepeng/
    dengdeng
    http://www2.tianyablog.com/blogger/view_blog.asp?BlogName=aiindcat
    DonaldDuck     http://donaldliew.blogchina.com/
    doubtpig       http://spaces.msn.com/members/doubtpig/
    dreamfarmer    http://spaces.msn.com/members/dreamfarmer/
    dual           http://spaces.msn.com/members/wishingliu
    easygoing      http://spaces.msn.com/members/opteasy/
    eidin          http://spaces.msn.com/members/yelmer/
    elk            http://spaces.msn.com/members/eliukai/
    emfox          http://emfox.yculblog.com/
    Emily          http://spaces.msn.com/members/emilyblue1985/
    ertrue         http://spaces.msn.com/members/ertrue
    evergreen      http://spaces.msn.com/members/wuwanmin
    Eversea        http://spaces.msn.com/members/solokiller/
    fanta          http://kraft.yculblog.com/
    FatMouse       http://spaces.msn.com/members/ba5ag/
    FBNII          http://spaces.msn.com/members/fbnii/
    fcpanda        http://spaces.msn.com/members/fcpanda/
    FireCloud      http://icecloud.tianyablog.com/
    fit            http://spaces.msn.com/membe1/dawanhua/index.html
    dawenxi        http://spaces.msn.com/members/rex0073
    debbie         http://spaces.msn.com/members/debbiepeng/
    dengdeng
    http://www2.tianyablog.com/blogger/view_blog.asp?BlogName=aiindcat
    DonaldDuck     http://donaldliew.blogchina.com/
    doubtpig       http://spaces.msn.com/members/doubtpig/
    dreamfarmer    http://spaces.msn.com/members/dreamfarmer/
    dual           http://spaces.msn.com/members/wishingliu
    easygoing      http://spaces.msn.com/members/opteasy/
    eidin          http://spaces.msn.com/members/yelmer/
    elk            http://spaces.msn.com/members/eliukai/
    emfox          http://emfox.yculblog.com/
    Emily          http://spaces.msn.com/members/emilyblue1985/
    ertrue         http://spaces.msn.com/members/ertrue
    evergreen      http://spaces.msn.com/members/wuwanmin
    Eversea        http://spaces.msn.com/members/solokiller/
    fanta          http://kraft.yculblog.com/
    FatMouse       http://spaces.msn.com/members/ba5ag/
    FBNII          http://spaces.msn.com/members/fbnii/
    fcpanda        http://spaces.msn.com/members/fcpanda/
    FireCloud      http://icecloud.tianyablog.com/
    fit            http://spaces.msn.com/members/zjugary/
    flycooler      http://spaces.msn.com/members/flycooler/
    flyne          http://spaces.msn.com/members/flyne1012/
    foliage        http://foliage.blog-city.com/
    FoxTail        http://spaces.msn.com/members/wuyizi/
    frankwendy     http://spaces.msn.com/members/musicspacefrank/
    frankym        http://spaces.msn.com/members/frank711/
    FreemanHu      http://spaces.msn.com/members/freemanhu/
    giggleguy      http://spaces.msn.com/members/shixl/
    glitter        http://spaces.msn.com/members/mymymm/
    goldlin        http://spaces.msn.com/members/goldlin/
    gooney         http://spaces.msn.com/members/zhuhengfang
    gracy          http://www.blogcn.com/user1/gracy/index.html
    greenfrog      http://spaces.msn.com/members/LIU-Yiliang/
    grosse         http://spaces.msn.com/members/grosse120
    guanguan       http://spaces.msn.com/members/guanguanmyway
    guangyulan     http://spaces.msn.com/members/littlebrit/
    hakula         http://spaces.msn.com/members/hakula/
    happysealzs    http://une.yculblog.com/
    haze           http://spaces.msn.com/members/wkd82/
    helenzx        http://spaces.msn.com/members/zhangxun-zju/
    hellenism      http://spaces.msn.com/members/hellenismyun/
    henna          http://spaces.msn.com/members/myhenna/
    hetao          http://hetao0108.blogone.net/
    hijack         http://www.jroller.com/page/jmars
    HOH            http://spaces.msn.com/members/zjuhoh/
    hongkitty      http://spaces.msn.com/members/hongkitty/
    Hongkitty      http://spaces.msn.com/members/hongkitty/
    HorseJia       http://spaces.msn.com/members/HorseJia/
    hotdonkey      http://hotdonkey.yculblog.com/
    Huangdang      http://spaces.msn.com/members/ZJUhuangdang/
    hutuworm       http://spaces.msn.com/members/hutuworm/
    hxw            http://hxw.yculblog.com/
    Hymn           http://spaces.msn.com/members/lhymn/
    iamwym         http://spaces.msn.com/members/iamwym/
    idiandian      http://spaces.msn.com/members/idiandian616/
    Igneus         http://spaces.msn.com/members/igneuslau
    illyria        http://spaces.msn.com/members/illyria313
    imagined       http://spaces.msn.com/members/gongzhentao/
    infire         http://spaces.msn.com/members/infire/
    intuit         http://spaces.msn.com/members/intuit1980/
    Invisibleman   http://spaces.msn.com/members/yangyang0331/
    iori           http://spaces.msn.com/members/armai/
    Iterator       http://spaces.msn.com/members/iterator/
    iWeil          http://spaces.msn.com/members/karlimdor/
    jacksoncc      http://spaces.msn.com/members/jacksoncc/
    jamin          http://spaces.msn.com/members/jaminx/
    jasminexiao    http://www.blogcn.com/user16/jasminexiao/index.html
    jimmylin       http://spaces.msn.com/members/wolfkingjimmy/
    jinchang       http://spaces.msn.com/members/lhsxqsc/
    joeblackgod    http://spaces.msn.com/members/joeblackgod/
    johnwj         http://spaces.msn.com/members/john3795/
    jomo           http://spaces.msn.com/members/myjomo/
    jqzheng        http://spaces.msn.com/members/jqzhengcn
    jwj            http://www.blogcn.com/user7/jwj/index.html
    katze          http://katzelin.tianyaclub.com/
    keiko          http://spaces.msn.com/members/keiko218/
    kongjun        http://spaces.msn.com/members/kongjun00zju
    laalaa         http://www.blogcn.com/user16/laalaaqi/index.html
    lafly          http://www.blogcn.com/user25/lafly/index.html
    langlang       http://spaces.msn.com/members/kellyboston/
    LazyMike       http://spaces.msn.com/members/unknownplace/
    lecus …       http://spaces.msn.com/members/lecus/
    leedsmark      http://spaces.msn.com/members/leedsmark/
    lengthen       http://spaces.msn.com/members/lengthen/
    leojane        http://spaces.msn.com/members/leojane/
    leoncui        http://spaces.msn.com/members/leoncui/
    linyx          http://spaces.msn.com/members/linyx88/
    littleapple    http://spaces.msn.com/members/littleapple925/
    littlered      http://spaces.msn.com/members/littlereder/PersonalSpace.aspx?_c=
    loneststar     http://spaces.msn.com/members/loneststar/
    longyun        http://spaces.msn.com/members/longyun0701/
    lovegiver      http://lovegiver.tianyablog.com/
    loveordie      http://flywithapig.blogchina.com/
    lune           http://lune.blogchina.com/
    lygc           http://www.blogcn.com/user37/lygc/index.html
    margerette     http://spaces.msn.com/members/margerette/
    martina        http://spaces.msn.com/members/martinaLuo/
    masa           http://spaces.msn.com/members/masacat/
    maxiao         http://spaces.msn.com/members/lionxiaoma/
    memoryofyou    http://spaces.msn.com/members/memoryofyou/
    mgmg           http://spaces.msn.com/members/mgmg/
    MichaelMao     http://spaces.msn.com/members/michaelmao88/
    Mick           http://spaces.msn.com/members/zjumick
    mifeng         http://spaces.msn.com/members/zhenghaoqiu/
    mifeng         http://spaces.msn.com/members/zhenghaoqiu/
    miracles       http://spaces.msn.com/members/miracleslj/
    MJSC           http://www.blogcn.com/user18/mjsc/index.html
    mltomato       http://spaces.msn.com/members/wisterial/
    modify         http://spaces.msn.com/members/pouring/
    mooner         http://spaces.msn.com/members/caozhiqing
    movesky        http://spaces.msn.com/members/movesky/
    Movesky        http://spaces.msn.com/members/movesky/
    MoveToMars     http://spaces.msn.com/members/rhymechen/
    MrBean         http://spaces.msn.com/members/jianghongping/
    MrQ            http://spaces.msn.com/members/zjuspacecenter/
    mwong          http://spaces.msn.com/members/michaelwong/
    nad            http://spaces.msn.com/members/saibaryo
    navyjuly       http://spaces.msn.com/members/yadaacn/
    neofm          http://spaces.msn.com/members/kleinqingting/
    Neon           http://spaces.msn.com/members/lockspaces/
    nicci          http://spaces.msn.com/members/niccinicci
    nierming       http://www.blogcn.com/user21/muzhi/index.html
    NoDesireMonk   http://nodesiremonk.blogspot.com/
    noworld        http://spaces.msn.com/members/oversai/
    numberII       http://spaces.msn.com/members/numberII/
    Onija          http://spaces.msn.com/members/Onija/
    Onija          http://onija.blogone.net/
    oniontou       http://spaces.msn.com/members/oniontou/
    oopszh         http://spaces.msn.com/members/oopszh/
    orientred      http://www.blogcn.com/User4/orient999/index.html
    Ovid           http://spaces.msn.com/members/metasos
    OwindbabyO     http://spaces.msn.com/members/OwindbabyO/
    pacino         http://spaces.msn.com/members/pacinoQ/
    panggezi       http://spaces.msn.com/members/panggezi/
    park           http://spaces.msn.com/members/zahav/
    paullinhao     http://spaces.msn.com/members/wisc-lin/
    pcq            http://spaces.msn.com/members/pion/
    philowen       http://www.blogcn.com/user14/philowen/index.html
    pinkfox        http://www.blogcn.com/user18/chiann/index.html
    Pinkyshadow    http://www.blogcn.com/user46/pinkyshadow/index.html
    PLX            http://spaces.msn.com/members/philiplixin
    prayball       http://www.blogcn.com/user18/prayball/
    prescient      http://spaces.msn.com/members/prescient/
    Principal      http://www.blogcn.com/user17/principal/index.html
    punkboy        http://spaces.msn.com/members/vctr/
    pxsnet         http://spaces.msn.com/members/momogentoo/
    qswang         http://spaces.msn.com/members/qswang15/
    qufei          http://spaces.msn.com/members/sodoer/
    quiky          http://spaces.msn.com/members/qianyuanke/
    quiter         http://www2.tianyablog.com/blogger/view_blog.asp?BlogName=quiter
    qxj            http://spaces.msn.com/members/qxj/
    raincat        http://spaces.msn.com/members/raincat1980/
    raincoat       http://spaces.msn.com/members/spaceofrc/
    raula          http://spaces.msn.com/members/happyrannie/
    rexyhigh       http://spaces.msn.com/members/rexyhigh
    richmond       http://spaces.msn.com/members/richmand
    riveria        http://spaces.msn.com/members/riveriajiang
    rollin         http://spaces.msn.com/members/rollinfox/
    Rtwei          http://spaces.msn.com/members/rtwei
    sahara         http://spaces.msn.com/members/saharaplus/
    saintisty      http://spaces.msn.com/members/saintisty
    seasons        http://spaces.msn.com/members/xuyuxia
    seasonsea      http://www.blogcn.com/user17/snowerlee/index.html
    seemy          http://spaces.msn.com/members/seemyspace1985/
    selenesmy      http://spaces.msn.com/members/selenesmyleo
    SeSe           http://blog.csdn.net/sese
    sgabello       http://spaces.msn.com/members/sgabello/
    shadowboy      http://spaces.msn.com/members/gaoyijie/
    shiningsword   http://spaces.msn.com/members/shiningsword1982/
    shirley        http://spaces.msn.com/members/zjushirley/
    siana          http://www2.tianyablog.com/blogger/view_blog.asp?BlogName=siana
    simbaily       http://spaces.msn.com/members/simbaily/
    sinesong       http://spaces.msn.com/members/sinesong/
    siuleung       http://spaces.msn.com/members/siuleung/
    skypower       http://spaces.msn.com/members/yulucn/
    sleepygod      http://spaces.msn.com/members/suilei/
    sluice         http://www.blogcn.com/user43/eciuls/index.html
    slwolf         http://spaces.msn.com/members/slwolf
    smartbaby      http://spaces.msn.com/members/smartbabyy/
    smell          http://spaces.msn.com/members/llems/
    smilodon       http://spaces.msn.com/members/smilodonwind/
    smokedfish     http://spaces.msn.com/members/smokedfish19810101/
    snakehope      http://spaces.msn.com/members/shejun/
    SonicYouth     http://spaces.msn.com/members/lovesonicyouth
    Soundsoul      http://spaces.msn.com/members/soundsoul
    soup           http://spaces.msn.com/members/souptxd/
    sparkle        http://spaces.msn.com/members/youzou/
    sprinia        http://sprinia.yculblog.com/
    sprinia        http://sprinia.yculblog.com/
    stoney         http://spaces.msn.com/members/gracestoney/
    SunbeamZhang   http://bg5hfz.net/
    Sundaygirl     http://spaces.msn.com/members/zjuxin/
    sunnymimi      http://spaces.msn.com/members/sunnymimi/
    SunPhoenix     http://spaces.msn.com/members/sunhe830110/
    sunskyzhu      http://spaces.msn.com/members/sunskyzhu/
    superbabycl    http://spaces.msn.com/members/superbabycl/
    superkoala     http://spaces.msn.com/members/superkoala/
    susies         http://spaces.msn.com/members/susies1025
    suyeyi         http://spaces.msn.com/members/suyeyi/
    tczn           http://spaces.msn.com/members/tczn
    tianlei        http://spaces.msn.com/members/reloadtime
    timbell        http://www.blogcn.com/user12/timbell/index.html
    tmsfht         http://spaces.msn.com/members/tmsfht/
    topspy         http://spaces.msn.com/members/hongjuexp/
    TTChaCha       http://spaces.msn.com/members/mongchacha
    tufei          http://spaces.msn.com/members/ecako/
    Tulip          http://www.mblogger.cn/computer.mblogger.cn/tulips/
    turtlewife     http://spaces.msn.com/members/turtlewife/
    tybo           http://spaces.msn.com/members/wavewaving/
    uchida         http://spaces.msn.com/members/idrilman
    ultraviolet    http://spaces.msn.com/members/ultraviolet1982/
    uniharmony     http://spaces.msn.com/members/uniharmony/
    vent           http://spaces.msn.com/members/ventlife/
    vivimice       http://www.blogcn.com/user48/vivimice/index.html
    walkinrain     http://walkinrain.yculblog.com/
    wason          http://spaces.msn.com/members/xiaosan716/
    weichao        http://spaces.msn.com/members/weichao-zju/
    whatever       http://spaces.msn.com/members/iamsujie
    willhunting    http://spaces.msn.com/members/willhunting1984/
    wings          http://spaces.msn.com/members/wingsmm
    wings          http://spaces.msn.com/members/whisperwing
    wXinl          http://spaces.msn.com/members/wxinl/
    xiaofoye       http://spaces.msn.com/members/xiaofoye/
    xiaomajia      http://spaces.msn.com/members/xiaomajia/
    xiaomei        http://cyclist.yculblog.com/
    xiaoxxxya      http://spaces.msn.com/members/wangjun8313/
    xielaojiu      http://spaces.msn.com/members/xielaojiu/
    xiya           http://spaces.msn.com/members/navybluesea/
    xmap           http://spaces.msn.com/members/xmap/
    xxxxxx         http://www.windaf.com/
    yecha          http://spaces.msn.com/members/yeruizhi
    yoursling      http://spaces.msn.com/members/yoursling/
    yoyoim         http://spaces.msn.com/members/sbrnliu/
    ypdng          http://spaces.msn.com/members/ypdng/
    YvonneShen     http://spaces.msn.com/members/shenyiyun1983/
    zfc            http://spaces.msn.com/members/zfc2752/
    Zhebie         http://spaces.msn.com/members/ZhebieII/
    zuric          http://spaces.msn.com/members/SuFue/
    zwworld        http://spaces.msn.com/members/zwworld/


    --
                http://spaces.msn.com/members/solokiller/                                                                  
                MSN: Eversea_zt@hotmail.com                                                                                
                eversea这个ID已经不是我了,55555                                                                           

    ※ 来源:·飘渺水云间 freecity.cn·[FROM: montella]                                                                     
    --
    ※ 转载:·飘渺水云间 freecity.cn·[FROM: FrozenThrone]                                                                 
    --
    ※ 转载:·飘渺水云间 freecity.cn·[FROM: clement]                                                                      
    --
    ※ 转载:·飘渺水云间 freecity.cn·[FROM: snakehope]                                                                    

    1/9/2006

    审稿意见回来了

    挺好的,小修改就行了。
    2005,是颓废的,终于有了一个好消息。
    犹如一支强心计,2006不能再这样了,悠闲的日子不多了。
     

    Debug版和Release版的区别(ZZ)

    Debug通常称为调试版本,它包含调试信息,并且不作任何优化,便于程序员调试程序。Release称为发布版本,它往往是进行了各种优化,使得程序在代码大小和运行速度上都是最优的,以便用户很好地使用。
    Debug 和 Release 的真正秘密,在于一组编译选项。下面列出了分别针对二者的选项(当然除此之外还有其他一些,如/Fd /Fo,但区别并不重要,通常他们也不会引起 Release 版错误,在此不讨论)
    Debug 版本
    参数
     含义
     
    /MDd /MLd 或 /MTd
     使用 Debug runtime library (调试版本的运行时刻函数库)
     
    /Od
     关闭优化开关
     
    /D
     "_DEBUG" 相当于 #define _DEBUG,打开编译调试代码开关 (主要针对assert函数)
     
    /ZI
     创建 Edit and continue(编辑继续)数据库,这样在调试过程中如果修改了源代码不需重新编译
     
    /GZ
     可以帮助捕获内存错误
     
    /Gm
     打开最小化重链接开关, 减少链接时间
     
     
    Release 版本
    参数
     含义
     
    /MD /ML 或 /MT
     使用发布版本的运行时刻函数库
     
    /O1 或 /O2
     优化开关,使程序最小或最快
     
    /D
     "NDEBUG" 关闭条件编译调试代码开关 (即不编译assert函数)
     
    /GF
     合并重复的字符串, 并将字符串常量放到只读内存, 防止被修改
     
     
    实际上,Debug 和 Release 并没有本质的界限,他们只是一组编译选项的集合,编译器只是按照预定的选项行动。事实上,我们甚至可以修改这些选项,从而得到优化过的调试版本或是带跟踪语句的发布版本。
    哪些情况下 Release 版会出错
    有了上面的介绍,我们再来逐个对照这些选项看看 Release 版错误是怎样产生的
    1、Runtime Library:链接哪种运行时刻函数库通常只对程序的性能产生影响。调试版本的 Runtime Library 包含了调试信息,并采用了一些保护机制以帮助发现错误,因此性能不如发布版本。编译器提供的 Runtime Library 通常很稳定,不会造成 Release 版错误;倒是由于 Debug 的 Runtime Library 加强了对错误的检测,如堆内存分配,有时会出现 Debug 有错但 Release 正常的现象。应当指出的是,如果 Debug 有错,即使 Release 正常,程序肯定是有 Bug 的,只不过可能是 Release 版的某次运行没有表现出来而已。
    2、优化:这是造成错误的主要原因,因为关闭优化时源程序基本上是直接翻译的,而打开优化后编译器会作出一系列假设。这类错误主要有以下几种:
    1. 帧指针(Frame Pointer)省略(简称FPO):在函数调用过程中,所有调用信息(返回地址、参数)以及自动变量都是放在栈中的。若函数的声明与实现不同(参数、返回值、调用方式),就会产生错误,但 Debug 方式下,栈的访问通过 EBP 寄存器保存的地址实现,如果没有发生数组越界之类的错误(或是越界“不多”),函数通常能正常执行;Release 方式下,优化会省略 EBP 栈基址指针,这样通过一个全局指针访问栈就会造成返回地址错误是程序崩溃。
    C++ 的强类型特性能检查出大多数这样的错误,但如果用了强制类型转换,就不行了。你可以在 Release 版本中强制加入/Oy-编译选项来关掉帧指针省略,以确定是否此类错误。此类错误通常有:MFC 消息响应函数书写错误。正确的应为:
    afx_msg LRESULT OnMessageOwn
    (WPARAM wparam, LPARAM lparam);
     
     
    ON_MESSAGE 宏包含强制类型转换。防止这种错误的方法之一是重定义 ON_MESSAGE 宏,把下列代码加到 stdafx.h 中(在#include "afxwin.h"之后),函数原形错误时编译会报错。
    #undef ON_MESSAGE
    #define ON_MESSAGE(message, memberFxn) \
    {
    message, 0, 0, 0, AfxSig_lwl, \
    (AFX_PMSG)(AFX_PMSGW)
    (static_cast< LRESULT (AFX_MSG_CALL \
    CWnd::*)(WPARAM, LPARAM) > (&memberFxn)
    },
     
     
    2. volatile 型变量:volatile 告诉编译器该变量可能被程序之外的未知方式修改(如系统、其他进程和线程)。优化程序为了使程序性能提高,常把一些变量放在寄存器中(类似于 register 关键字),而其他进程只能对该变量所在的内存进行修改,而寄存器中的值没变。
    如果你的程序是多线程的,或者你发现某个变量的值与预期的不符而你确信已正确的设置了,则很可能遇到这样的问题。这种错误有时会表现为程序在最快优化出错而最小优化正常。把你认为可疑的变量加上 volatile 试试。
     
    3. 变量优化:优化程序会根据变量的使用情况优化变量。例如,函数中有一个未被使用的变量,在 Debug 版中它有可能掩盖一个数组越界,而在 Release 版中,这个变量很可能被优化调,此时数组越界会破坏栈中有用的数据。当然,实际的情况会比这复杂得多。与此有关的错误有非法访问,包括数组越界、指针错误等。例如:
    void fn(void)
    {
      int i;
      i = 1;
      int a[4];
      {
        int j;
        j = 1;
      }
      a[-1] = 1;
      //当然错误不会这么明显,例如下标是变量
      a[4] = 1;
    }
     
     
    j 虽然在数组越界时已出了作用域,但其空间并未收回,因而 i 和 j 就会掩盖越界。而 Release 版由于 i、j 并未其很大作用可能会被优化掉,从而使栈被破坏。
    3. DEBUG 与 NDEBUG :当定义了 _DEBUG 时,assert() 函数会被编译,而 NDEBUG 时不被编译。此外,TRACE() 宏的编译也受 _DEBUG 控制。
    所有这些断言都只在 Debug版中才被编译,而在 Release 版中被忽略。唯一的例外是 VERIFY()。事实上,这些宏都是调用了assert()函数,只不过附加了一些与库有关的调试代码。如果你在这些宏中加入了任何程序代码,而不只是布尔表达式(例如赋值、能改变变量值的函数调用等),那么Release版都不会执行这些操作,从而造成错误。初学者很容易犯这类错误,查找的方法也很简单,因为这些宏都已在上面列出,只要利用 VC++ 的 Find in Files 功能在工程所有文件中找到用这些宏的地方再一一检查即可。另外,有些高手可能还会加入 #ifdef _DEBUG 之类的条件编译,也要注意一下。
    顺便值得一提的是VERIFY()宏,这个宏允许你将程序代码放在布尔表达式里。这个宏通常用来检查 Windows API的返回值。有些人可能为这个原因而滥用VERIFY(),事实上这是危险的,因为VERIFY()违反了断言的思想,不能使程序代码和调试代码完全分离,最终可能会带来很多麻烦。因此,专家们建议尽量少用这个宏。
    4. /GZ 选项:这个选项会做以下这些事:
    1. 初始化内存和变量。包括用 0xCC 初始化所有自动变量,0xCD ( Cleared Data ) 初始化堆中分配的内存(即动态分配的内存,例如 new ),0xDD ( Dead Data ) 填充已被释放的堆内存(例如 delete ),0xFD( deFencde Data ) 初始化受保护的内存(debug 版在动态分配内存的前后加入保护内存以防止越界访问),其中括号中的词是微软建议的助记词。这样做的好处是这些值都很大,作为指针是不可能的(而且 32 位系统中指针很少是奇数值,在有些系统中奇数的指针会产生运行时错误),作为数值也很少遇到,而且这些值也很容易辨认,因此这很有利于在 Debug 版中发现 Release 版才会遇到的错误。要特别注意的是,很多人认为编译器会用0来初始化变量,这是错误的(而且这样很不利于查找错误)。
    2. 通过函数指针调用函数时,会通过检查栈指针验证函数调用的匹配性。(防止原形不匹配)
    3. 函数返回前检查栈指针,确认未被修改。(防止越界访问和原形不匹配,与第二项合在一起可大致模拟帧指针省略 FPO )通常 /GZ 选项会造成 Debug 版出错而 Release 版正常的现象,因为 Release 版中未初始化的变量是随机的,这有可能使指针指向一个有效地址而掩盖了非法访问。除此之外,/Gm/GF等选项造成错误的情况比较少,而且他们的效果显而易见,比较容易发现。
    怎样“调试” Release 版的程序
    遇到Debug成功但Release失败,显然是一件很沮丧的事,而且往往无从下手。如果你看了以上的分析,结合错误的具体表现,很快找出了错误,固然很好。但如果一时找不出,以下给出了一些在这种情况下的策略。
    1. 前面已经提过,Debug和Release只是一组编译选项的差别,实际上并没有什么定义能区分二者。我们可以修改Release版的编译选项来缩小错误范围。如上所述,可以把Release 的选项逐个改为与之相对的Debug选项,如/MD改为/MDd、/O1改为/Od,或运行时间优化改为程序大小优化。注意,一次只改一个选项,看改哪个选项时错误消失,再对应该选项相关的错误,针对性地查找。这些选项在Project\Settings...中都可以直接通过列表选取,通常不要手动修改。由于以上的分析已相当全面,这个方法是最有效的。
    2. 在编程过程中就要时常注意测试 Release 版本,以免最后代码太多,时间又很紧。
    3. 在 Debug 版中使用 /W4 警告级别,这样可以从编译器获得最大限度的错误信息,比如 if( i =0 )就会引起 /W4 警告。不要忽略这些警告,通常这是你程序中的 Bug 引起的。但有时 /W4 会带来很多冗余信息,如 未使用的函数参数 警告,而很多消息处理函数都会忽略某些参数。我们可以用:
    #progma warning(disable: 4702)
    //禁止
    //...
    #progma warning(default: 4702)
    //重新允许来暂时禁止某个警告,或使用
    #progma warning(push, 3)
    //设置警告级别为 /W3
    //...
    #progma warning(pop)
    //重设为 /W4
     
     
    来暂时改变警告级别,有时你可以只在认为可疑的那一部分代码使用 /W4。
    4. 你也可以像Debug一样调试你的Release版,只要加入调试符号。在Project/Settings... 中,选中 Settings for "Win32 Release",选中 C/C++ 标签,Category 选 General,Debug Info 选 Program Database。再在 Link 标签 Project options 最后加上 "/OPT:REF" (引号不要输)。这样调试器就能使用 pdb 文件中的调试符号。
    但调试时你会发现断点很难设置,变量也很难找到??这些都被优化过了。不过令人庆幸的是,Call Stack窗口仍然工作正常,即使帧指针被优化,栈信息(特别是返回地址)仍然能找到。这对定位错误很有帮助。