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 #:  92136   Status: Closed
(Pulled) This syntax error gets an internal compiler error:

template<class>class AA;class AA{s}AA<int>::s
Project:  Kylix Build #:  5.6
Version:    1.0 Submitted By:   QC<->Raid Replicator Account
Report Type:  Crash / Data loss / Total failure Date Reported:  4/17/2001 12:00:00 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    RedHat Linux Internal Tracking #:   108656
Resolution: Deferred to Next Rel (Resolution Comments) Resolved in Build: : 1.0
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
This syntax error gets an internal compiler error:

template<class>class AA;class AA{s}AA<int>::s
Steps to Reproduce:
bcc -c -g0 -j0 108656.cpp
//res:
Error E2303 108656.cpp 1: Type name expected
Error E2139 108656.cpp 1: Declaration missing ;
Error E2040 108656.cpp 1: Declaration terminated incorrectly
Error E2190 108656.cpp 1: Unexpected }
Error E2190 108656.cpp 1: Unexpected }
Fatal F1004 108656.cpp 2: Internal compiler error  at 0x80a9445
Workarounds
None
Attachment
N
Comments

None

Server Response from: ETNACODE01