There has been discussion recently about adding/removing compiler warnings.
If you want to write good clean code that is portable, then use ANSI C
compiler (not allowing tradtional C), and remove all warnings. The following
flags should be used.
-ansi -pedantic -Wall
Adding the flag "-Wpointer-arith", is probably a good idea, or at least
a very good reason why the warnings are OK.
As the ansi and pedantic flags are not currently used, they should be
introduced for the next release, after the release on Sunday.
Harry
In message <38AE7D8F.9A0334B8@dial.pipex.com>, John Vickers writes:
<snip>
>> Therefore I suggest to remove the flag -Wpointer-arith from the final
>> release.
>
>Or maybe remove all the warning flags, even. I get huge numbers of
>warnings
>building Sane with "-W -Wall". But for development releases,
>we should really be trying to get rid of the causes of the warnings.
>
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Sat Feb 19 2000 - 04:27:53 PST