Re: [Evolution-hackers] Please pay attention to "compiler warnings".



On Tue, 2006-02-14 at 06:22 -0700, Veerapuram Varadhan wrote:
> Hi Hackers,
> 
> I just saw another one in plugins/bbdb/bbdb.c.  The very same gfree 
> thingy.
> 
> (evolution-2.6:28994): e-utils-WARNING **: can't load plugin
> '/home/bhargavi/mbe/lib/evolution/2.6/plugins/liborg-gnome-evolution-bbdb.so:
> undefined symbol: gfree'
> 
> Please compile and make sure your patch doesn't introduce any *harmful*
> warnings. (I would rather request for zero warnings)

I think there's a good case for adding this to the default warnings for
each of the various evolution modules in each configure.in:

-Werror-implicit-function-declaration

This makes this kind of mistake a compile-time error, rather than a
run-time linker error, so you can go ahead and fix it immediately.

Thoughts?
Dave





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