harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk" <ivan.volos...@gmail.com>
Subject Re: [classlib][luni]To open warning as error on Linux
Date Mon, 25 Sep 2006 07:55:47 GMT
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 <alexey.a.petrenko@gmail.com> wrote:
> If this is a potential build problem do we really need to set this option?
>
> 2006/9/25, Leo Li <liyilei1979@gmail.com>:
> > 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: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message