|
From: | Paul Eggert |
Subject: | Re: Lint-related patches for coreutils |
Date: | Mon, 31 Jan 2022 14:35:56 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 1/31/22 13:48, Pádraig Brady wrote:
src/expr.c: In function 'single_binary_main_expr': error: function might be candidate for attribute 'noreturn' [-Werror=suggest-attribute=noreturn] note: in definition of macro 'main'
Ouch. A simple fix is to disable that warning for single-binary builds. I'll take a look at that unless you'd prefer a different fix.
[Prev in Thread] | Current Thread | [Next in Thread] |