Sounds reasonable.
Seems the lastest version of GCC is 4.1.x[1], we may download this version
and have a try :)
[1]http://gcc.gnu.org/
2006/9/25, Ivan Volosyuk <ivan.volosyuk@gmail.com>:
>
> 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
>
>
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
|