[Top][All Lists]

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

[bug-gettext] build error on Cygwin >= 1.7.10-1

From: Daiki Ueno
Subject: [bug-gettext] build error on Cygwin >= 1.7.10-1
Date: Mon, 24 Dec 2012 19:23:21 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Hi Bruno and Windows experts,

Since 1.7.10-1, Cygwin now defines error, error_at_line,
error_message_count, error_one_per_line, error_print_progname in its DLL:

This causes the following error:

Maybe gnulib could prepend "rpl_" prefix to those symbols to avoid

Unfortunately, even if this is fixed, the build still fails in
libgettextpo, because:

- libgettextpo does not link to gnulib's error.c anymore (because
  configure detects error_at_line)
  -> we can't use gnulib's error* variables

- when building libgettextpo, all DLL_VARIABLE are undefined
  -> we can't use Cygwin's error* variables

So we could either do:

1. use gnulib's error* variables
   i.e. link libgettextpo to gnulib's error.c
2. use Cygwin's error* variables
   i.e. do not remove "dllspec(dllimport)" attribute from error* variables

Which does sound better?  I've read the Woe32 DLL note[1] and I feel 1
might be safer.

Anyway I'll add workaround for 0.18.2 in either way.


[1]  http://www.haible.de/bruno/woe32dll.html

Daiki Ueno

reply via email to

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