[gtkmm] Error while compiling GTKMM-1.3.23
- From: Otmar Struwe <otmar struwe web de>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Error while compiling GTKMM-1.3.23
- Date: Mon, 16 Sep 2002 22:56:50 +0200
Hi,
I just tried to compile GTKMM-1.2.23 with gcc-3.1.1 and I got one error.
textbuffer.cc:385: default argument given for parameter 1 of `Glib::ustring
Gtk::TextBuffer::get_text(bool = true)'
../../gtk/gtkmm/textbuffer.h:206: after previous specification in `
Glib::ustring Gtk::TextBuffer::get_text(bool = true)'
make[5]: *** [textbuffer.lo] Fehler 1
Below you will see the patch I used to fix this:
diff -c /home/struwe/tmp/linux/gtk-2.0/textbuffer.cc
/home/struwe/tmp/linux/gtk-2.0/gtkmm-1.3.23/gtk/gtkmm/textbuffer.cc
*** /home/struwe/tmp/linux/gtk-2.0/textbuffer.cc Mon Sep 16 22:45:57 2002
---
/home/struwe/tmp/linux/gtk-2.0/gtkmm-1.3.23/gtk/gtkmm/textbuffer.cc
Mon Sep 16 22:45:57 2002
***************
*** 381,387 ****
return get_char_count();
}
! Glib::ustring TextBuffer::get_text(bool include_hidden_chars = true)
{
return get_text(begin(), end(), include_hidden_chars);
}
--- 381,387 ----
return get_char_count();
}
! Glib::ustring TextBuffer::get_text(bool include_hidden_chars)
{
return get_text(begin(), end(), include_hidden_chars);
}
Maybe this information is usefull.
Otmar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]