[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #55149] gettext.h incompatible with g++ -pedantic
From: |
Bruno Haible |
Subject: |
[bug #55149] gettext.h incompatible with g++ -pedantic |
Date: |
Tue, 15 Oct 2024 10:23:52 -0400 (EDT) |
Follow-up Comment #1, bug #55149 (group gettext):
compiling
#include "/usr/share/gettext/gettext.h"
int main()
{
return 0;
}
with g++ -pedantic results in:
/usr/share/gettext/gettext.h: In function ‘const char* dcpgettext_expr(const
char*, const char*, const char*, int)’:
/usr/share/gettext/gettext.h:201: error: ISO C++ forbids variable length array
‘msg_ctxt_id’
/usr/share/gettext/gettext.h: In function ‘const char*
dcnpgettext_expr(const char*, const char*, const char*, const char*, long
unsigned int, int)’:
/usr/share/gettext/gettext.h:247: error: ISO C++ forbids variable length array
‘msg_ctxt_id’
(, , , )
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55149>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #55149] gettext.h incompatible with g++ -pedantic,
Bruno Haible <=