Re: Macro to add more compiler warnings

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

 



Hello Javier.

On Sunday 26 December 2010, Javier Jardón wrote:
> Hello,
> 
> currently in GNOME we use a custom macro to add more compiler warnings
> to the build [1]
> I wonder if there is a "upstream" macro to do the same.
>
You might be interested in the gnulib modules `warnings' and `manywarnings':
 <http://www.gnu.org/software/gnulib/manual/html_node/warnings.html>
 <http://www.gnu.org/software/gnulib/manual/html_node/manywarnings.html>
 <http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=m4/warnings.m4>
 <http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=m4/manywarnings.m4>
I'm not sure if they will satisfy all your needs (they seem to work for the
C language only), but you can at least take them as a starting point.  And
I think the gnulib maintainers will be happy to accept patches making those
modules more generally useful ;-)

> Regards
> 
> [1] http://git.gnome.org/browse/gnome-common/tree/macros2/gnome-compiler-flags.m4#n4
> 
> 

HTH,
  Stefano

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux