Re: Patch to suppress gcc warning about return of non-void function
The patch is now uploaded in the Subversion repository in Savannah. It will be included in the next release. Thanks again for reporting and providing the patch. --Antonio On Thu, Dec 1, 2011 at 12:20 PM, Josef Reidinger wrote: > 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 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 > > 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 > > > > > > jreidin...@suse.com > > > SUSE > > > > > > ___ > > > Bug-gnu-chess mailing list > > > Bug-gnu-chess@gnu.org > > > 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 > > jreidin...@suse.com > SUSE > ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
Re: Patch to suppress gcc warning about return of non-void function
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 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 > 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 > > > > jreidin...@suse.com > > SUSE > > > > ___ > > Bug-gnu-chess mailing list > > Bug-gnu-chess@gnu.org > > 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 jreidin...@suse.com SUSE ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
Re: Patch to suppress gcc warning about return of non-void function
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 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 > > jreidin...@suse.com > SUSE > > ___ > Bug-gnu-chess mailing list > Bug-gnu-chess@gnu.org > https://lists.gnu.org/mailman/listinfo/bug-gnu-chess > > ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess