[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP buil error: control reaches end of non-void function [-Werror=r

From: opensuse.lietuviu.kalba
Subject: Re: PSPP buil error: control reaches end of non-void function [-Werror=return-type]
Date: Sat, 22 Aug 2020 09:48:11 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

As I see from build log, openSUSE Tumbleweed now use recent gcc10 (10.2.1+git501)


2020-08-22 09:40, John Darrington rašė:
Can you say what compiler you are using?


On Fri, Aug 21, 2020 at 10:17:47PM +0300, opensuse.lietuviu.kalba wrote:
      2020-08-21 20:42, John Darrington ra????:
      > I think you can override this with -Wno-error=return-type  or something 
      > It differs with according to gcc version.   Please check the 
documentation for
      > whatever gcc version you are using.
Thanks. I re-enabled libpsppire-glade?? and I tried to use
      -Wno-error=return-type . Compilation still aborted for openSUSE
      Tumbleweed, but now at:
[ 382s] ./src/language/stats/aggregate.h:54:30: error: function 'agr_func_tab' redeclared as variable
      [  382s]    54 | extern const struct agr_func agr_func_tab[];
      [  382s]       |                              ^
      [  382s] src/ui/gui/dummy.c:47:5: note: previously declared here
      [  382s]    47 | int agr_func_tab () {}
      [  382s]       |     ^
      [  382s] lto1: fatal error: errors during merging of translation units
      [  382s] compilation terminated.
      [  382s] lto-wrapper: fatal error: gcc returned 1 exit status
      [  382s] compilation terminated.
See build log for more details. openSUSE 15.2 and older systems had no such problem. Thus I will continue to use patch to prevent libpsppire-glade compilation. -- Regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]