harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li" <liyilei1...@gmail.com>
Subject Re: [classlib][luni]To open warning as error on Linux
Date Mon, 25 Sep 2006 08:06:54 GMT
  Thank you, Ivan.
  I will let it pass GCC4.x.


On 9/25/06, Ivan Volosyuk <ivan.volosyuk@gmail.com> wrote:
>
> 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
>
>


-- 
Leo Li
China Software Development Lab, IBM

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message