Re: Please pay attention to "compiler warnings".

David Malcolm <[email protected]>
Newsgroups gmane.comp.gnome.evolution.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.