Issue 122767

Summary: Fix pre-C++99 for-scope
Product: General Reporter: hdu <hdu>
Component: codeAssignee: hdu <hdu>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P4 CC: issues
Version: 3.4.1   
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 122766    

Description hdu@apache.org 2013-07-17 08:42:47 UTC
According to the C++ standard for-loop initializers go out of scope after the for loop. Currently AOO still uses the Zc:forScope option to allow the pre-standard behavior.
Comment 1 SVN Robot 2013-07-17 11:55:52 UTC
"hdu" committed SVN revision 1504081 into trunk:
#i122767# disallow pre-standard C++ for-scope
Comment 2 hdu@apache.org 2013-07-17 11:58:32 UTC
Now the pre-standard for-scope is disabled on the last platform that still allowed it.