> 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

Reply via email to