bug-gettext
[Top][All Lists]
Advanced

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

[bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib auto


From: Harmen
Subject: [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper
Date: Thu, 30 May 2024 07:10:37 -0400 (EDT)

Follow-up Comment #1, bug #65811 (group gettext):

A very similar issue with GCC 5 on ubuntu 18.04

```
g++-5 -std=gnu++11 -DIN_LIBASPRINTF -DH
AVE_CONFIG_H -I. -Ignulib-lib -I./gnulib-lib -g -O2 -c autosprintf.cc  -fPIC
-DPIC -o .libs/autosprintf.o
In file included from ./config.h:1276:0,
                 from autosprintf.cc:18:
/usr/include/c++/5/type_traits:1068:7: error: expected identifier before
'sizeof'
       static_assert(sizeof...(_Args) > 1,
       ^
/usr/include/c++/5/type_traits:1068:7: error: expected ',' or '...' before
'sizeof'
/usr/include/c++/5/type_traits:2027:7: error: expected identifier before
'sizeof'
       static_assert(sizeof...(_Types) != 0, "At least one type is
required");
       ^
/usr/include/c++/5/type_traits:2027:7: error: expected ',' or '...' before
'sizeof'
```

Also disappears when dropping -std=gnu++11.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65811>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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