[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [sr #108743] Inconsistent definition of libintl_gettext_ge
From: |
Dagobert Michelsen |
Subject: |
[bug-gettext] [sr #108743] Inconsistent definition of libintl_gettext_germanic_plural |
Date: |
Fri, 06 Feb 2015 10:01:53 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18 |
URL:
<http://savannah.gnu.org/support/?108743>
Summary: Inconsistent definition of
libintl_gettext_germanic_plural
Project: GNU gettext
Submitted by: dagobert
Submitted on: Fr 06 Feb 2015 10:01:52 GMT
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: Other Unix
_______________________________________________________
Details:
The function libintl_gettext_germanic_plural is once defined as const and once
as non-const:
/bin/bash ../libtool --tag=CC --mode=compile /opt/solarisstudio12.3/bin/cc -c
-DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\"
-DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1
-DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I.
-I.. -D_REENTRANT -I/opt/csw/include -g ./plural-exp.c
libtool: compile: /opt/solarisstudio12.3/bin/cc -c
-DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\"
-DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1
-DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I.
-I.. -D_REENTRANT -I/opt/csw/include -g ./plural-exp.c -KPIC -DPIC -o
.libs/plural-exp.o
"./plural-exp.c", line 71: identifier redeclared:
libintl_gettext_germanic_plural
current : struct expression {int nargs, enum expression_operator
{qmop(16),
lor(15), land(14), not_equal(13), equal(12), greater_or_equal(11),
less_or_equal(10), greater_than(9), less_than(8), minus(7), plus(6),
module(5), divide(4), mult(3), lnot(2), num(1), var(0)} operation, union {..}
val}
previous: const struct expression {int nargs, enum expression_operator
{qmop(16), lor(15), land(14), not_equal(13), equal(12), greater_or_equal(11),
less_or_equal(10), greater_than(9), less_than(8), minus(7), plus(6),
module(5), divide(4), mult(3), lnot(2), num(1), var(0)} operation, union {..}
val} : "plural-exp.h", line 111
cc: acomp failed for ./plural-exp.c
This should be consistent. Compilers as Sun Studio treat this mismatch as
error.
Best regards -- Dago
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?108743>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [bug-gettext] [sr #108743] Inconsistent definition of libintl_gettext_germanic_plural,
Dagobert Michelsen <=