Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Kylix/Compiler/C++/Front-end/Language/Templates    [ Add a report in this area ]  
Report #:  92141   Status: Closed
(Pulled) This template code with syntax error in constructor initialization list gets an assertion:
template <class>
struct AA
{
Project:  Kylix Build #:  5.6
Version:    1.0 Submitted By:   QC<->Raid Replicator Account
Report Type:  Crash / Data loss / Total failure Date Reported:  8/28/2000 12:00:00 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    RedHat Linux Internal Tracking #:   90653
Resolution: Fixed (Resolution Comments) Resolved in Build: : 5.6
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
This template code with syntax error in constructor initialization list gets an assertion:
template <class>
struct AA
{
  AA();:;
};
Steps to Reproduce:
bcc -c 90653.cpp
//res:
Fatal F1004 ./90653.cpp 4: Internal compiler error at 0x0807e951

//exp:
an error indication that the ':' is unexpected.
Workarounds
None
Attachment
N
Comments

None

Server Response from: ETNACODE01