gnupic: Using readline 4.2 with c++
Subject:
Using readline 4.2 with c++
From:
John Sutton ####@####.####
Date:
5 Sep 2001 15:03:40 -0000
Message-Id: <01090515590302.07473@diva.localdomain>
Hi
I'm having trouble building a package written in c++ (gpsim, a PIC emulator)
which uses readline. The problem can be demonstrated by just handing c++ a
1 line file containing the #include:
#include <readline/readline.h>
The result is:
In file included from /usr/include/readline/keymaps.h:37,
from /usr/include/readline/readline.h:36,
from try.c:1:
/usr/include/readline/rltypedefs.h:48: invalid exception specifications
/usr/include/readline/rltypedefs.h:51: invalid exception specifications
/usr/include/readline/rltypedefs.h:52: invalid exception specifications
etc
This is exactly the same error as I get when trying to compile gpsim.
I'm using readline 4.2 and egcs-2.91.66 on linux 2.2.19 with glibc 2.1.1
I know diddle squat about C++ and so I'm probably being very stupid ;-(
TIA
***************************************************
John Sutton
SCL Computer Services
URL http://www.scl.co.uk/
Tel. +44 (0) 1239 711 888
***************************************************