Search

Internal Compiler Error with boost::property_tree::ptree.get_child() by MekaByte

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 736647
Opened: 4/12/2012 2:58:31 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
0
User(s) can reproduce this bug
Attempting to compile a program calling get_child() on a boost::property_tree's ptree object in a for loop results in an internal compiler error.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 11 Beta

Steps to reproduce

Attempt to compile the following code (needs includes from http://www.boost.org/ ):

#include <boost/property_tree/ptree.hpp>

int main(int argc, char* argv[])
{
    boost::property_tree::ptree pt;
    for(auto v : pt.get_child("foo"))
    {
    }
}

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

Internal compiler error

Expected results

Successful compile
File Attachments
File Name Submitted By Submitted On File Size  
ptreeerror.zip 4/12/2012 285 KB
Sign in to post a comment.
Posted by MekaByte on 6/1/2012 at 9:38 PM
Still broken in VS2012 RC.
Posted by Microsoft on 4/18/2012 at 3:59 PM
Hello,

Thank you for reporting this bug. We'll be fixing this for Dev11 RTM.

Thanks,
Ulzii Luvsanbat
Visual C++ Team
Posted by MS-Moderator07 [Feedback Moderator] on 4/12/2012 at 11:59 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by MS-Moderator01 on 4/12/2012 at 3:49 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by MekaByte on 4/12/2012 at 3:02 PM
Preprocessed file attached.
Sign in to post a workaround.