Re: warning about invalid tree model iterators
- From: Federico Mena Quintero <federico ximian com>
- To: Tim Janik <timj imendio com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Markku Vire <markku vire movial fi>, Jonathan Blandford <jrb redhat com>, Kristian Rietveld <kris imendio com>
- Subject: Re: warning about invalid tree model iterators
- Date: Fri, 17 Feb 2006 11:01:09 -0600
On Fri, 2006-02-17 at 14:29 +0100, Tim Janik wrote:
> to help the compiler catch these mistakes, i've prepared a patch that adds
> G_GNUC_WARN_UNUSED_RESULT to all relevant iterator functions, and intend
> to commit that next week unless objections pop up. in principle it does:
This is pretty nice. It may create a few warnings for code that knows
that certain operations will succeed, but better help the rest of the
world :)
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]