
7 Feb
2006
7 Feb
'06
4:29 p.m.
Andy Little wrote: [...]
gcc 4.0.1 error:
test.cpp: In member function 'my::udt<__typeof__ (boost::type_of::ensure_obj(((T)(1) + (T1)(1))))> my::udt<T>::operator+(const my::udt<T1>&) const [with T1 = double, T = int]': test.cpp:26: internal compiler error: in write_type, at cp/mangle.c:1646 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I reported this and got this response (FYI): ------- Additional Comments From jakub@redhat.com 2006-02-07 11:15 EST ------- This is a well known very old problem. Simply avoid using typeof in template arguments.