gettext compilation error (3)

Bruno Haible haible@ilog.fr
Tue Apr 25 04:50:00 GMT 2000


One more compilation error:

gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../../intl -I../../lib  -g -O2  ../../intl/ngettext.c
../../intl/ngettext.c: In function `gettext__':
../../intl/ngettext.c:70: number of arguments doesn't match prototype
../../intl/libgettext.h:95: prototype declaration


2000-04-23  Bruno Haible  <clisp.cons.org>

	* intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.

*** gettext-work.orig/intl/ngettext.c	Mon Apr 10 19:27:07 2000
--- gettext-work/intl/ngettext.c	Sun Apr 23 18:19:39 2000
***************
*** 55,61 ****
  # define NGETTEXT __ngettext
  # define DCNGETTEXT __dcngettext
  #else
! # define NGETTEXT gettext__
  # define DCNGETTEXT dcngettext__
  #endif
  
--- 55,61 ----
  # define NGETTEXT __ngettext
  # define DCNGETTEXT __dcngettext
  #else
! # define NGETTEXT ngettext__
  # define DCNGETTEXT dcngettext__
  #endif
  


More information about the Libc-alpha mailing list