[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: |
Friedrich Beckmann |
Subject: |
Re: PSPP buil error: control reaches end of non-void function [-Werror=return-type] |
Date: |
Sat, 22 Aug 2020 08:33:51 +0200 |
Maybe we should change this even if it only results in a warning. Or would
adding a
return value to the dummy functions have some negative impact? When building for
a distribution it is sometimes not so easy to disable or change the compiler
settings.
Fritz
> Am 20.08.2020 um 22:39 schrieb John Darrington <john@darrington.wattle.id.au>:
>
> On Thu, Aug 20, 2020 at 10:27:12PM +0300, opensuse.lietuviu.kalba wrote:
>
> However compilation stopped for openSUSE Tumbleweed rigth after these
> warning/error (see full log in attachament of previous e-mail):
>
> [?? 541s] cc1: some warnings being treated as errors
>
> This is your problem.
>
> It is reasonable to that this issue raises a warning. However it is not
> really sensible to regard it as an error.
>
> So stop treating warnings as errors (don't pass -Werror=return-type), and
> your compilation problem will go away.
>
>
> J'
- Re: PSPP buil error: control reaches end of non-void function [-Werror=return-type],
Friedrich Beckmann <=