[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #56792] Build failure with gettext 0.20, gcc 9.2.0 an
From: |
Frédéric |
Subject: |
[bug-gettext] [bug #56792] Build failure with gettext 0.20, gcc 9.2.0 and mingw-w64 6.0.0 (cross compiling) |
Date: |
Wed, 21 Aug 2019 16:18:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?56792>
Summary: Build failure with gettext 0.20, gcc 9.2.0 and
mingw-w64 6.0.0 (cross compiling)
Project: GNU gettext
Submitted by: halespa
Submitted on: mer. 21 août 2019 20:18:28 UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When I build gettext 0.20, I get an error (actually in make install):
x86_64-w64-mingw32-gcc-9.2.0 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -I. -I..
-DIN_GETTEXT_TOOLS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gnulib-lib
-I./../gnulib-lib -I../intl -I/softs/win64-mingw-9.2.0/release/iconv/include
-O2 -DNDEBUG -DLIBXML_STATIC -MT pthread_sigmask.o -MD -MP -MF $depbase.Tpo -c
-o pthread_sigmask.o pthread_sigmask.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from
/softs/mingw64-9.2.0/x86_64-w64-mingw32/include/signal.h:10,
from ../gnulib-lib/signal.h:52,
from pthread_sigmask.c:20:
pthread_sigmask.c:34:1: error: expected identifier or ‘(’ before numeric
constant
34 | pthread_sigmask (int how, const sigset_t *new_mask, sigset_t
*old_mask)
| ^~~~~~~~~~~~~~~
If I compile with -E, I get lines 33 and 34
int
thread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
replaced by:
# 33 "pthread_sigmask.c"
0
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56792>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [bug-gettext] [bug #56792] Build failure with gettext 0.20, gcc 9.2.0 and mingw-w64 6.0.0 (cross compiling),
Frédéric <=