On Tue, Aug 28, 2001 at 09:33:32AM +0200, Moritz Moeller-Herrmann wrote:
> I can not update any German translation if lftp does not compile.
>
> Here is the error output on SuSE 7.2 with gcc-2.95:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O2 -Wall
> -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
> -fno-implement-inlines -Winline -c complete.cc
> (compiling into cache)
> In file included from /usr/include/readline/keymaps.h:37,
> from /usr/include/readline/readline.h:36,
> from complete.cc:43:
> /usr/include/readline/rltypedefs.h:48: invalid exception specifications
apply this patch to your system headers.
--
Alexander.
--- rlstdc.h 2001/04/12 08:15:09
+++ rlstdc.h 2001/05/11 16:16:52
@@ -28,6 +28,8 @@
and traditional C compilers with something like this:
extern char *func __P((char *, char *, int)); */
+#undef __P
+
#if !defined (__P)
# if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus)
# define __P(protos) protos
--- tilde.h 2001/04/12 08:15:13
+++ tilde.h 2001/05/11 16:16:52
@@ -32,6 +32,8 @@
and traditional C compilers with something like this:
extern char *func __P((char *, char *, int)); */
+#undef __P
+
#if !defined (__P)
# if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus)
# define __P(protos) protos