Re: [gtkmm] ANNOUNCE: gtkmm 1.3.23



In ANSI C++, default arguments can only be defined in declarations,
not in definitions. That why the new compilers are complaining.

--
Paulo Pinto

----- Original Message -----
From: "Andrew E. Makeev" <andrew solvo ru>
To: <murrayc usa net>
Cc: "gtkmm-list" <gtkmm-list gnome org>; "gnome-announce"
<gnome-announce-list gnome org>
Sent: Monday, September 16, 2002 3:25 PM
Subject: Re: [gtkmm] ANNOUNCE: gtkmm 1.3.23


> Murray Cumming wrote:
>
> >
> > *** Changes
> >
> > API breakage:
> > * Gtk::TextBuffer::get_text(): Added overload that takes no iterators.
> >   (Murray Cumming)
> >   Excuse: It's API addition.
> >
>
> Remove default argument from function definition (textbuffer.cc), please:
>
> Glib::ustring TextBuffer::get_text(bool include_hidden_chars = true)
> {
>         return get_text(begin(), end(), include_hidden_chars);
> }
>
> New compilers give error on such statements.
>
> Regards,
> -andrew
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]