Displaying 1 result from an estimated 1 matches for "const_hash".
2003 Apr 29
4
Bug in g++ 2.95.4 (Pointer to member functions)
...(unsigned int i=0; i<3; ++i) {
callMemberFunction (obj, b[i]) ();
}
return 0;
}
// ----------- end bug.cpp -----------
This is how you can reproduce the internal compiler error:
% gcc -c bug.cpp
% bug.cpp: In function `int main(int, char **)':
% bug.cpp:20: Internal compiler error in `const_hash', at varasm.c:2373
% Please submit a full bug report.
% See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
I have tested the same source (which is an adoption from the C++ FAQ-lite,
http://www.parashift.com/c++-faq-lite/pointers-to-members.html) an the
following system...