Article View: gnu.g++.bug
Article #1383Internal err 145 when ordinary method defined as template
From: jimc
Date: Mon, 11 Jan 1993 00:35
Date: Mon, 11 Jan 1993 00:35
23 lines
1190 bytes
1190 bytes
// bug20.C -- Method of ordinary class defined as template: int err 145
/* Gnu g++ v2.3.3 for Sparc-SunOS-SunOS v4.1.1
A member function of a non-template class is defined as a template.
This gives the compiler internal error 145.
bug20.C:11: Internal compiler error 145.
bug20.C:11: Please report this to `bug-g++@prep.ai.mit.edu'.
James F. Carter (213) 825-2897
UCLA-Mathnet; 6221 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90024-1555
Internet: jimc@math.ucla.edu BITNET: jimc%math.ucla.edu@INTERBIT
UUCP:...!{ucsd,ames,ncar,gatech,purdue,rutgers,decvax,uunet}!math.ucla.edu!jimc
*/
struct gorf {
int stuff;
void snarf();
};
template <class T> void gorf::snarf() //Internal Error 145
{ return; }
Technical Details
Message-ID:
<9301111635.AA16068@malibu.pic.ucla.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pic.ucla.edu!jimcShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pic.ucla.edu!jimc From: jimc@pic.ucla.edu Subject: Internal err 145 when ordinary method defined as template Message-ID: <9301111635.AA16068@malibu.pic.ucla.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 11 Jan 1993 00:35:20 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 24