bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] [sr #108743] Inconsistent definition of libintl_gettex


From: Dagobert Michelsen
Subject: Re: [bug-gettext] [sr #108743] Inconsistent definition of libintl_gettext_germanic_plural
Date: Mon, 9 Feb 2015 10:26:52 +0100

Hi Daiki,

> Am 06.02.2015 um 20:39 schrieb Daiki Ueno <address@hidden>:
> 
> Follow-up Comment #1, sr #108743 (project gettext):
> 
>> "./plural-exp.c", line 71: identifier redeclared:
> libintl_gettext_germanic_plural
> 
> This code path is taken only when the compiler doesn't support C99:
> http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural-exp.c#n66


> 
> and Solaris Studio 12.3 supports C99:
> http://docs.oracle.com/cd/E24457_01/html/E21990/bjabb.html
> 
> What happens if you add "-xc99=all,lib —Xc" to the compiler options?  I
> wonder why I didn't encounter the problem when I tested with the compiler on
> Solaris 11 (without any special compiler option).

This works:
  
https://buildfarm.opencsw.org/buildbot/builders/ggettext-solaris10-i386/builds/114

I would like to get to a state with a clean build on Solaris as some other GNU 
projects
for continous integration require an up-to-date gettext. The current state can 
be monitored
with
  
https://buildfarm.opencsw.org/buildbot/waterfall?builder=ggettext-solaris10-i386&builder=ggettext-solaris10-sparc&reload=300

Regarding the failures in the test suite: We can’t get the gij java compiler
to compile. Maybe it would be good to test this during configure so the tests 
can be
skipped?

There are only three other issues left:

FAIL: lang-c++
==============

In file included from ///usr/include/sys/time.h:419:0,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/sys/time.h:39,
                 from ///usr/include/sys/select.h:23,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/sys/select.h:36,
                 from ///usr/include/sys/types.h:606,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/sys/types.h:28,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/stdio.h:58,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/wchar.h:71,
                 from /opt/csw/include/c++/4.9.2/cwchar:44,
                 from /opt/csw/include/c++/4.9.2/bits/postypes.h:40,
                 from /opt/csw/include/c++/4.9.2/iosfwd:40,
                 from /opt/csw/include/c++/4.9.2/ios:38,
                 from /opt/csw/include/c++/4.9.2/ostream:38,
                 from /opt/csw/include/c++/4.9.2/iostream:39,
                 from prog.cc:5:
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/stdio.h:1039:1:
 error: 'char* gets(char*)' conflicts with a previous declaration
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
In file included from ///usr/include/stdio.h:66:0,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/stdio.h:43,
                 from 
/export/home/buildbot/slave/ggettext-solaris10-i386/build/gettext-tools/gnulib-lib/wchar.h:71,
                 from /opt/csw/include/c++/4.9.2/cwchar:44,
                 from /opt/csw/include/c++/4.9.2/bits/postypes.h:40,
                 from /opt/csw/include/c++/4.9.2/iosfwd:40,
                 from /opt/csw/include/c++/4.9.2/ios:38,
                 from /opt/csw/include/c++/4.9.2/ostream:38,
                 from /opt/csw/include/c++/4.9.2/iostream:39,
                 from prog.cc:5:
/opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.2/include-fixed/iso/stdio_iso.h:242:14:
 note: previous declaration 'char* std::gets(char*)'
 extern char *gets(char *);
              ^
FAIL lang-c++ (exit status: 1)


FAIL: lang-bash
===============

1c1
< «Votre commande, s'il vous plait», dit le garçon.
---
> �Votre commande, s'il vous plait�, dit le gar�on.
FAIL lang-bash (exit status: 1)



FAIL: lang-vala
===============

1,2c1,2
< �Votre commande, s'il vous plait�, dit le gar�on.
< EUR remplace FF.
---
> 'Your command, please?', asked the waiter.
> FF is replaced by EUR.
FAIL lang-vala (exit status: 1)



Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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