On Mon, Dec 13, 2010 at 10:51 AM, Vincent Torri <vto...@univ-evry.fr> wrote:
>
>
> On Mon, 13 Dec 2010, Brett Nash wrote:
>
>>
>>> sure, as i mentioned them when i compiled with suncc. Otherwise, with gcc,
>>> from
>>>
>>> http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
>>>
>>> "-Wpointer-arith
>>>      Warn about anything that depends on the .size of. a function type or
>>> of void. GNU C assigns these types a size of 1, for convenience in
>>> calculations with void * pointers and pointers to functions. In C++, warn
>>> also when an arithmetic operation involves NULL. This warning is also
>>> enabled by -pedantic."
>>>
>>> so not enabled with one of your flags.
>>
>> Now that is strange.
>>
>> I swear that used to part of -Wextra, although the documentation
>> indicates I am mistaken (a couple of 4's and 3's checked there).
>>
>> I personally despise that gcc extension.
>
> that could be a good reason to add flags in configure.ac. If gcc keeps
> changing the flags enabled by -Wall, -W, -Wextra and others in the
> different version of gcc, adding them directly in the autotools will be
> safer.
>
> I don't understand why raster is so reluctant in having them. Especially
> if we enable them only during a development cycle, and not in a release.

Indeed... several projects I work with enable tons of -W when
configured with --enable-maintainer-mode (even -Werror). I don't see a
point against doing this.


Lucas De Marchi

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to