* Ralf Wildenhues wrote on Mon, Mar 20, 2006 at 08:36:26AM CET:
[ this is http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/5424 ]
Sorry for the delay, here's a patch. Cc:ing libtool-patches as the
owner of the argz module. If you agree, I'll check this into Libtool
as well.
I have
Ralf Wildenhues [EMAIL PROTECTED] wrote:
The hack below fixes that, but I can imagine that it is not an
acceptable fix, given that this is libc code. Should we rather
AC_DEFINE([__error_t_defined], 1, ..)?
Yes, I believe we should.
Regards,
Sergey
If a project uses both modules argp and argz, error_t may be both
#define'd, and set as typedef in argp.h. The #define from config.h
(which comes ultimatively from argz.m4) kills the typedef of course.
For example on sparc-sun-solaris2.8:
| cc -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\