[parted-devel] make check fails

M. J. Everitt m.j.everitt at iee.org
Thu May 3 22:31:11 BST 2018


On 03/05/18 20:04, Phil Susi wrote:
> I get this when I try to run a make check on the current git head:
>
> common.c: In function '_test_exception_handler':
> common.c:28:1: error: function might be candidate for attribute
> 'noreturn' [-Werror=suggest-attribute=noreturn]
>  _test_exception_handler (PedException* e)
>
>
> Why does gcc feel the need to be helpful and suggest these things, and
> why do we ask it to treat all warnings as errors?
>
>
As I recall, that's an option with gcc .. otherwise, fix the warning! ;D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/parted-devel/attachments/20180503/0a00a3fb/attachment.sig>


More information about the parted-devel mailing list