This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
internal compiler error 109
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: internal compiler error 109
- From: bauhaus at uni-duisburg dot de (Georg Bauhaus)
- Date: Tue, 13 Jul 1999 01:08:36 +0200
- Reply-To: bauhaus at uni-duisburg dot de (Georg Bauhaus)
// dear "egcs-bugs",
// #include <string> "results" in an internal compiler error 109
// (only saying that this doesn't happen if #include <string> is
// omitted; this is funny somehow; i filed a report having the opposite
// premis resulting in the same error only few days ago. the code *is*
// erroneous, i think. :)
#include <string>
class S {
static const string spec_rev_ = "";
// static const string spec_rev_ = string(""); // error
// static const char spec_rev_[] = ""; // no error, no warning
// static const char * spec_rev_ = ""; // warning
};
/*
c++ -c -x c++ -Wall Templates.hh
Templates.hh:11: Internal compiler error 109.
Templates.hh:11: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
Templates.hh:11: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
Linux sonnenregen 2.2.1 #3 SMP Fri Apr 23 06:04:04 CEST 1999 i586 unknown
Debian GNU/Linux
c++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release)
-# georg
*/