Obviously i = 18446744073709551615 = UINT64_MAX / 10. You must have somehow changed i in your loop. Also I don't know why you use an #if ... #else ... #endif here.
------------------ Best regards, lh_mouse 2014-12-19 ------------------------------------------------------------- 发件人:Jim Michaels <[email protected]> 发送日期:2014-12-19 04:35 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] why isn't UINT64_MAX usable when countdown reaches past 0 to -1? dongshengdaily 5.0.0 20141105 #if defined(_WIN64) for (i=src.size()-1-findStr.size(); i>=pos && pos!=UINT64_MAX; i--) { #else for (i=src.size()-1-findStr.size(); i>=pos && pos!=UINT32_MAX; i--) { #endif std::cerr<<"i="<<i<<", findStrSizeDiv2="<<findStrSizeDiv2<<", findStrSizeMod2="<<findStrSizeMod2<<std::endl; i=0, findStrSizeDiv2=3, findStrSizeMod2=1 j=0, srcNarrowingRHS=0, srcNarrowingLHS=18446744073709551611, fsNarrowingRHS=6, fsNa HS]=ÿ, src[srcNarrowingRHS]=g i=18446744073709551615, findStrSizeDiv2=3, findStrSizeMod2=1 j=0, srcNarrowingRHS=18446744073709551615, srcNarrowingLHS=18446744073709551610, fsN , src[srcNarrowingLHS]=ÿ, src[srcNarrowingRHS]=... notice i. the loop didn't stop. I corrected the improper value for UINT64_MAX, but this did not fix the problem. help. - I want a stable version with the latest c++ features. I had assumed the personal builds were such. - norton 360 removes the official "pack mule" build upon execution because of Sonar.Heuristic.120. ------------- Jim Michaels [email protected] [email protected] http://RenewalComputerServices.com http://JesusnJim.com (computer repair info, programming) ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
