It helps to maintain code with less potential problems in it. AFAIK,
GCC 3.x warnings is just a subset of GCC 4.x warnings. So, if we fix
warnings on GCC 4.x the code will compile without warnings on either
version of GCC.
--
Ivan

On 9/25/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
If this is a potential build problem do we really need to set this option?

2006/9/25, Leo Li <[EMAIL PROTECTED]>:
> Hi, all
>      I plan to give a patch that fixed all warning in native code of luni on
> Linux and then set Werror in luni makefile.
>      But now I have a problem: Different versions of gcc have different
> definitions of warnings, for example, the file can build on my default
> GCC3.0.4 of RH but fails on GCC4.0.3 of my colleague's ubuntu if I set
> warning as error on. Although I can fix it on GCC4.0.3, what about other
> versions?
>     So my question is whether we have our default or reference version of
> GCC?:)
--
Ivan
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to