[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sysvinit-devel] Compiler warning messages
From: |
Jesse Smith |
Subject: |
Re: [sysvinit-devel] Compiler warning messages |
Date: |
Fri, 4 May 2018 14:57:17 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Matias,
Thank you for sending us a link to the LFS patch. I have applied the
parts relating to fall thoughs and all the related warnings from GCC 7
should now be cleared up.
While testing the patch I discovered GCC 8 has some more warnings
regarding strings and I plan to clean those up too before our next beta.
- Jesse
> I detected a patch coming from the "Linux From Scratch" project, which
> solves some compiler warnings[1].
>
> [1]
> http://www.linuxfromscratch.org/patches/lfs/development/sysvinit-2.89-consolidated-1.patch
>
> Plus, after applying the patch, here is another mark from GCC 7:
>
> killall5.c: In function 'readproc':
> killall5.c:654:7: warning: this statement may fall through
> [-Wimplicit-fallthrough=]
> if ((p->nfs = check4nfs(path, buf)))
> ^
> killall5.c:656:3: note: here
> case DO_STAT:
> ^~~~
>
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [sysvinit-devel] Compiler warning messages,
Jesse Smith <=