Re: [patch] constify g_simple_async_result_set_from_error

On Wed, 2009-09-02 at 14:28 -0400, David Zeuthen wrote:

> Mmmm, wouldn't this break the API? E.g. cause compilation of existing
> apps to spew warnings. If so, we can't do it.

How is the introduction of a compiler warning an API break? Every gcc
update introduces some more compiler warnings in code that used to
compile cleanly before. I don't think that the possibility of
introducing a compiler warning should keep us from introducing const
where appropriate.


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