[gtkmm] MinGW g++ internal compiler error
- From: Naofumi Yasufuku <naofumi yasufuku net>
- To: gtkmm-list gnome org
- Subject: [gtkmm] MinGW g++ internal compiler error
- Date: Fri, 09 Aug 2002 23:24:25 +0900
Hi,
gtkmm-1.3.19 compilation failed with MinGW 1.1.
Internal compiler error was arised while processing the following code
in treeview.h.
//int specialization:
template<> inline
void TreeView::_connect_auto_store_editable_signal_handler(CellRenderer* pCellRenderer, const TreeModelColumn<int>& model_column)
{
CellRendererText* pCellText = dynamic_cast<CellRendererText*>(pCellRenderer);
if(pCellText)
{
//Set the appropriate property,
pCellText->property_editable() = true;
//Connect to the appropriate signal, sending the model_column too,
pCellText->signal_edited().connect(
SigC::bind( SigC::slot(*this, &TreeView::_auto_store_on_cellrenderer_text_edited_numerical<int>), model_column.index()) );
}
}
GCC version is
$ gcc -v
Reading specs from e:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-6/specs
gcc version 2.95.3-6 (mingw special)
It seems that the cause is SigC::bind() of inline template member
function TreeView::_auto_store_on_cellrenderer_text_edited_numerical.
I think it might be a MinGW g++ bug, but should be fixed to be
successfully compiled with the stable MinGW release.
Regards,
--Naofumi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]