[Top][All Lists]

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

Re: [platform-testers] new snapshot available: sed-4.3.20-e9ab

From: Jim Meyering
Subject: Re: [platform-testers] new snapshot available: sed-4.3.20-e9ab
Date: Wed, 1 Feb 2017 14:29:21 -0800

On Wed, Feb 1, 2017 at 11:51 AM, Eric Blake <address@hidden> wrote:
> sed.git fails to compile on Cygwin:
> sed/compile.c: In function 'savchar':
> sed/compile.c:259:15: error: format '%x' expects argument of type
> 'unsigned int', but argument 2 has type 'int' [-Werror=format=]
>          panic("Called savchar() with unexpected pushack (%x)",
>                ^
> sed/compile.c: In function 'bad_prog':
> sed/compile.c:210:1: error: function might be candidate for attribute
> 'noreturn' [-Werror=suggest-attribute=noreturn]
>  bad_prog(const char *why)
>  ^

Hi Eric,
Thank you for the testing and report. At least that second
warning/error is misleading because the bad_prog function is already
declared with _Noreturn:

  sed/sed.h:_Noreturn void bad_prog (const char *why);

I suggest that you avoid configuring with `--enable-gcc-warnings` on cygwin.

reply via email to

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