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: Thu, 25 Jan 2024 10:33:40 +0100

On FreeBSD 12.2/sparc64, there are also two other compilation errors:

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

Luca, this has already been reported two years ago, in
<https://lists.gnu.org/archive/html/poke-devel/2022-02/msg00040.html>.

2) Conflict between declarations:

../../poke/pk-term.h:27: error: redefinition of typedef 'pk_compiler'
../../libpoke/libpoke.h:39: error: previous declaration of 'pk_compiler' was 
here

../../libpoke/libpoke.h:39: error: redefinition of typedef 'pk_compiler'
../../poke/pk-term.h:27: error: previous declaration of 'pk_compiler' was here


Find attached the log file of "make -k".

The compiler is:
$ gcc -v
Using built-in specs.
Target: sparc64-undermydesk-freebsd
Configured with: FreeBSD/sparc64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]

The attached proposed patch fixes #2.

Attachment: freebsd-sparc64-ftbfs.log
Description: Text Data

Attachment: 0001-Fix-a-compilation-error-due-to-two-typedefs-of-the-s.patch
Description: Text Data


reply via email to

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