bug-gnu-utils
[Top][All Lists]
Advanced

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

BUG gettext-0.16.1 ("void" instead of "void *" in gettext-tools/gnulib-l


From: anirkko
Subject: BUG gettext-0.16.1 ("void" instead of "void *" in gettext-tools/gnulib-lib/tls.c)
Date: Thu, 12 Apr 2007 11:17:31 +0200 (MET DST)

Hi
the building of GNU gettext-0.16.1 on Solaris 2.6
using --enable-threads=solaris fails because of a typo
(missing '*') in gettext-tools/gnulib-lib/tls.c
(see output below).

Fix: 
void *
glthread_tls_get (thread_key_t key)

instead of:
void
glthread_tls_get (thread_key_t key)

Greetings,
Arto


 gcc -DHAVE_CONFIG_H "-DEXEEXT=\"\"" "-DEXEEXT=\"\"" -I. -I.. -I../intl 
-I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 
"-DEXEEXT=\"\"" -I/usr/local/gnu/libiconv/include -O3 -mcpu=supersparc 
-mno-app-regs -c tls.c  -fPIC -DPIC -o .libs/tls.o
tls.c:46: error: conflicting types for 'glthread_tls_get'
tls.h:247: error: previous declaration of 'glthread_tls_get' was here
tls.c: In function 'glthread_tls_get':
tls.c:51: warning: 'return' with a value, in function returning void
gmake[4]: *** [tls.lo] Error 1
gmake[4]: Leaving directory `/build/gettext-0.16.1/gettext-tools/gnulib-lib'





reply via email to

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