poke-devel
[Top][All Lists]
Advanced

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

Re: GNU poke 3.90.0 on FreeBSD/sparc64


From: Bruno Haible
Subject: Re: GNU poke 3.90.0 on FreeBSD/sparc64
Date: Tue, 06 Feb 2024 09:06:30 +0100

Hi Luca,

In <https://lists.gnu.org/archive/html/poke-devel/2022-02/msg00040.html>
and <https://lists.gnu.org/archive/html/poke-devel/2024-01/msg00078.html>
I wrote:

> 1) Thousands of 'error: #pragma GCC diagnostic not allowed inside functions'.

Here is a patch that fixes it. Could you please apply it?

Explanation: jitter/configure.ac contains a test
  checking for #pragma GCC diagnostic insude functions...
It sets the cache variable ac_cv_have_pragma_gcc_diagnostic_in_functions
and the C macro JITTER_HAVE_PRAGMA_GCC_DIAGNOSTIC_IN_FUNCTIONS.
The C macro JITTER_HAVE_PRAGMA_GCC_DIAGNOSTIC_IN_FUNCTIONS is never used.
The ac_cv_have_pragma_gcc_diagnostic_in_functions variable is used, but
incorrectly. A comparison
  test "x$some_variable" != ''
always evaluates to true.

Bruno

Attachment: 0001-Fix-FTBFS-on-Linux-alpha-and-FreeBSD-sparc64.patch
Description: Text Data


reply via email to

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