Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/C++    [ Add a report in this area ]  
Report #:  106164   Status: Open
Internal compiler error using Boost.Exception's exception_ptr.hpp
Project:  C++Builder Build #:  16.0.4504.48759
Version:    16.4 Submitted By:   Josh Kelley
Report Type:  Crash / Data loss / Total failure Date Reported:  6/4/2012 11:45:45 AM
Severity:    Serious / Highly visible problem Last Updated: 6/5/2012 12:13:56 AM
Platform:    All versions Internal Tracking #:   28736
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Trying to use Boost.Excpetion's exception_ptr.hpp header may cause internal compiler errors when inline functions are enabled:

[C++ Error] exception_ptr.hpp(323): F1004 Internal compiler error at 0x57e09aa with base 0x5750000
[C++ Error] exception_ptr.hpp(323): F1004 Internal compiler error at 0x57e09aa with base 0x5750000
Steps to Reproduce:
Set the build configuration to Release (so that inline functions are enabled), then compile the following VCL console application.


#include <vcl.h>
#include <windows.h>

#pragma hdrstop
#pragma argsused

#include <tchar.h>
#include <stdio.h>

#include <boost/exception_ptr.hpp>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
  boost::exception_ptr e = boost::current_exception();

return 0;
}
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 6/5/2012 5:47:01 PM -
This report was opened with valid Internal Tracking Number.
Thanks.

Server Response from: ETNACODE01