This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal Comiler Error in egcs-2.91.61 19990216
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Internal Comiler Error in egcs-2.91.61 19990216
- From: "Peter L. Higley" <phigley at surfree dot com>
- Date: Sun, 28 Feb 1999 22:51:26 -0800
Got an internal compiler error.
All files generated by egcs -v --save-temps incomperror.cc (standard
error output is in intcomperror.out) are in intcomperr.tgz.
Here is the source code so you don't have to unpack all that if you have
seen this:
template<bool cond>
struct BeezleBub { typedef char evil[cond ? 1 : -1]; }
The char doesn't matter. I get an error for int or any other
user-defined type.
( Nifty little compile time assert, huh? comp.lang.c++.moderated is a
great news group!)
Long live egcs!
Peter
phigley@surfree.com
intcomperr.tgz