??? ????: ' % ws ' x 64 ??????? Visual C++ 2010 ??? ?? "?????" ??? ?? ??? ??? ???? ??? ??????? ???? ??

???? ?????? ???? ??????
???? ID: 2802711 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

?????

??? ??? ?? Microsoft ????? ???????? 2010 ??? Visual C/C++ ??????? (Cl.exe) ?? ????? ?? ?? ???? C ?? C++ ????? ??? ????? ??? ??? x64-?????? ??????? ????? ?? ?????? ??? ???? ????? ??? ?? ????? ???? ?? ?? ???? ??????? ????? ??? ????? ??? ??? ????? ????????? ???? ???, ?? ?? ?????? ???, ??? ???? ??? ????? ??? ?? ??? ??????? ???? ?? ???? ??:
  • /Ob1 (Only_inline) ??????? ?????? ????? ???? ??? ???
  • /O1 (???? ????), /O2 (?????? ???), /Ox (????? ???????) ?? /Og (??????? ????????????) ????????????? ??????? ?????? ????? ???? ??? ???
  • /GL (???? ????????? ???????) ??????? ?????? ????? ???? ??? ???

????????

???????? ???????

?? ?? ??????? ???????? Microsoft ?? ?????? ??? ???????, ?? ???? ?? ???? ??? ?????? ?????? ?? ?? ???? ?? ??? ?????? ??? ?? ?? ?? ??????? ?????? ?? ????? ?? ??? ??? ???? ????? ???????? ?? ???? ???? ????

?? ?????? ?? ?? ???? ?? ???, ???????? ??????? ???? ?? ??? Microsoft ?????? ?????? ???? ?? ?????? ????? Microsoft ?????? ?????? ???? ?? ??? ?????? ?? ?????? ????? ?? ???? ??? ??????? ?? ???? ???? ?? ???, ????? Microsoft ??? ???? ?? ????:
http://support.microsoft.com/contactus/?ws=support
??? ????? ?????? ???, ??? ??? Microsoft ?????? ????????? ????????? ???? ?? ?? ??? ????? ?????? ???? ?????? ?? ??????? ????? ?? ?????????? ?????? ????? ?? ??? ???? ???? ??? ???? ???? ?? ???? ??? ???????? ?????? ???????? ?? ?? ???????? ?? ??????? ??? ???????????? ?????? ?? ????? ???? ??????? ?????? ????? ???? ??????

??????????

?? ???????? ?? ???? ???? ?? ???, ?? ????? ???????? 2010 ?????? ??? ??????? 1 (SP1) ???? ?????? ???

???????? ??????????

???? ??? ???????? ??????? ?? ????? ???? ???? ?? ??? ??, ?? ?? ?? ???????? ?? ???? ???? ?? ??? ???????? ?? ???????? ???? ?? ??? ???? ??? ?? ??????? ???? ??? ?? ?? ?? ???????? ?? ???? ???? ?? ???? ????? ???????? 2010 ?? ??????? ??? ????

????? ???????

?? ???????? ?? ??????? ??????? ????? ????????? (?? ??? ?? ????? ?????????) ??? ?? ????? ?????? ??? ???????? ???? ?????? ?? ??? ?? ??????? ?? ??? ??????? ????????? ??? (UTC ???) ???????? ???? ???? ??? ?? ????? ??????? ????? ???, ?? ??? ??????? ??? ??? ?????? ???? ???? ??? UTC ?? ??????? ??? ??? ???? ????? ?? ???, ?? ????? ???? ??? ??????? ??? ??? ?? ?????? ?? ??? ???????? ???? ??? ???? ???
?? ??? ?? ??????? ?????? ??? ?? ??????? ????
assets folding start collapsed
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ?? ???????? ???????????? ?? ??????????????????????????
C2.dll16.0.40219.4442,606,71211-?????-201319:24x 86Microsoft Visual Studio 10.0\VC\bin
C2.dll16.0.40219.4442,493,56012-Mar-201316:48x 86Microsoft Visual Studio 10.0\VC\bin\x86_amd64
C2.dll16.0.40219.4442,593,92812-Mar-201316:48x 86Microsoft Visual Studio 10.0\VC\bin\x86_ia64
C2.dll16.0.40219.4442,960,50412-Mar-201316:48x 64Microsoft Visual Studio 10.0\VC\bin\amd64
?? ??? ?? ??????? ?????? ??? ?? ??????? ????
assets folding end collapsed

???? ???????

?? ?????? ?? ???: ??????? ???? ?? ???, ?????? ????? ??? C ?? C++ ????? ????? ?????:

#include <stdio.h>

int test(int bps, int sflags)
{
    if (sflags & (1 << bps))
    {
        switch (bps)
        {
        case 1:  return 1;
        case 2:  return 3;
        default: return 0;
        }
    }
    else
    {
        switch (bps)
        {
        case 1:  return 2;
        default: return 0;
        }
    }
}
 
void main()
{
    int res = test(1, -1);
    printf("%d\n", res);
}


???, ????? ???????? 2010 ??? Visual Studio x 64 ????? ????? ????? ????????? ?? Visual Studio x 64 Win64 ????? ????????? ?????, ?? ????? ????? ?? ??? ????? ???? ?? ????? ???? ??? ?????? ????:
cl /Ob1 /O2 '????? ????? ??'

1???????? ?????? ??? ?????, ???????? ?????? ???

??????

Microsoft ?? ?????? ?? ?? ?? ?? "?? ?? ????" ?????? ??? ???????? Microsoft ???????? ??? ?? ?????? ???

??????

/Ob ??????? ?????? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
/Ob ??????? ?????? ?? ???? ??? ??????? ???????
/GL ??????? ?????? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
/GL ??????? ?????? ?? ???? ??? ??????? ???????
/O ??????? ???????? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
/O ???????? ?? ???? ??? ??????? ??????? (??? ???????)

???

???? ID: 2802711 - ????? ???????: 29 ????? 2013 - ??????: 3.0
???? ???? ???? ??:
  • Microsoft Visual Studio 2010 Service Pack 1
  • Microsoft Visual Studio 2010 Ultimate
  • Microsoft Visual Studio 2010 Professional
  • Microsoft Visual Studio 2010 Premium with MSDN
??????: 
kbqfe kbHotfixServer kbfix kbsurveynew kbexpertiseadvanced kbmt KB2802711 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:2802711

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com