[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch to suppress gcc warning about return of non-void function
From: |
Josef Reidinger |
Subject: |
Re: Patch to suppress gcc warning about return of non-void function |
Date: |
Thu, 1 Dec 2011 12:20:31 +0100 |
Hi Antonio,
I notice it when I build gnuchess in opensuse build service ( it is
automatic build system in chroot of target system - more info here -
http://en.opensuse.org//Portal:Build_Service ). And it automatic pass
-Wall and then search for specific warnings in build output and missing
return value is considered as serious, so it is printed in result as
warning. So it is not system dependent.
Josef
On Wed, 30 Nov 2011 20:14:36 +0100
Antonio Ceballos <address@hidden> wrote:
> Hi Josef,
>
> Thanks a lot for the patch. I had to add the -Wall flag to the g++
> command for components.cc in order to see the warnings. Did you
> notice them with the original make files? On which system? SuSE, I
> presume?
>
> Antonio Ceballos
> GNU Chess Team
>
>
> On Tue, Nov 29, 2011 at 1:46 PM, Josef Reidinger <address@hidden>
> wrote:
>
> > Hi,
> > I attach patch, that fix warning about missing return statement in
> > functions with non-void return statement.
> > Josef
> >
> > --
> > Josef Reidinger
> > Software Engineer Appliance Department
> >
> > SUSE LINUX, s. r. o.
> > Lihovarska 1060/12
> > 190 00 Praha 9
> > Czech Republic
> >
> > address@hidden
> > SUSE
> >
> > _______________________________________________
> > Bug-gnu-chess mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
> >
> >
--
Josef Reidinger
Software Engineer Appliance Department
SUSE LINUX, s. r. o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
address@hidden
SUSE
- Re: Patch to suppress gcc warning about return of non-void function,
Josef Reidinger <=