Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/C++/Interaction with the IDE    [ Add a report in this area ]  
Report #:  71114   Status: Closed
IDE vanishes during compilation
Project:  C++Builder Build #:  11.0.2902.10471
Version:    11.2 Submitted By:   Sergiy Kanilo
Report Type:  Crash / Data loss / Total failure Date Reported:  2/3/2009 2:09:06 PM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   267936
Resolution: Fixed (Resolution Comments) Resolved in Build: : 12.0.3327.19432
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
seems that the function template parameter with default value and using incorrect constructor parameters causes the problem.

Fraser Ross said that BDS2006 does not have this problem.

Moritz Beutel (who actually reduces my original code to one that included in "Steps") informed me that the same problem occurs in C++Builder 2009.

Steps to Reproduce:
1. create simple console application
2. replace File1.cpp content with

template <typename>
    struct vector

void f (void);

template <typename ValueT, void (*func) (void) = &f>
    struct C
    C (vector<ValueT>);

C <short> c;

3. start compilation


Zach Saw at 2/3/2009 3:45:03 PM -
Verified to fail on CB2007 Version 11.0.2902.10471

Tomohiro Takahashi at 2/3/2009 11:06:25 PM -
Oh..., C++Builder 2009 has same problem...

Server Response from: ETNACODE01