Re: Implicition declarations of functions and bugs
Kurt Roeckx, le Fri 20 Jan 2006 23:56:22 +0100, a écrit :
> On Fri, Jan 20, 2006 at 11:19:58PM +0100, Samuel Thibault wrote:
> > Samuel Thibault, le Fri 20 Jan 2006 23:15:11 +0100, a écrit :
> > > Maybe the debian policy should require
> > > -Werror-implicit-function-declaration in CFLAGS so as to avoid such
> > > issue?
> > Or buildds could check for "implicit declaration of function" warnings.
> We could also check for lots of other things in buildd logs. One
> that happens alot more is "cast to pointer from integer of
> different size" and "cast from pointer to integer of different
Indeed, though it can be perfectly valid (int casted to void* for
pthread_create(), then casted back to int in the thread, for instance).
> But this really is the maintainer of the package that should look
> at this. I don't think it's up to the buildd's maintainers to
> go and look for this type of bugs.
Ok, but maintainers don't seem to care so far. Something is needed to
get their attention on this issue.