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 #:  92134   Status: Closed
(Pulled) This template code gets an internal compiler error:
template<class CharT>
struct X
{
  struct
  {
  
Project:  Kylix Build #:  0.0.0.1
Version:    1.0 Submitted By:   QC<->Raid Replicator Account
Report Type:  Crash / Data loss / Total failure Date Reported:  5/2/2000 12:00:00 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    RedHat Linux Internal Tracking #:   84067
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 gets an internal compiler error:
template<class CharT>
struct X
{
  struct
  {
    operator=(CharT*){}
  } Buf;
};
int main()
{
  X<char>s;s.Buf="";
  return 0;
}
Steps to Reproduce:
bcc32 84067.cpp
//res:
Assertion failed 84067.cpp(11) :  at template.c(9032)

//exp: compiles, links and runs
Workarounds
None
Attachment
N
Comments

None

Server Response from: ETNACODE01