gnupic: Using readline 4.2 with c++


Previous by date: 5 Sep 2001 15:03:40 -0000 Re: gpsim: TMR0 has 3 nibbles?, Scott Dattalo
Next by date: 5 Sep 2001 15:03:40 -0000 Re: Using readline 4.2 with c++, Chet Ramey
Previous in thread:
Next in thread: 5 Sep 2001 15:03:40 -0000 Re: Using readline 4.2 with c++, Chet Ramey

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
***************************************************

Previous by date: 5 Sep 2001 15:03:40 -0000 Re: gpsim: TMR0 has 3 nibbles?, Scott Dattalo
Next by date: 5 Sep 2001 15:03:40 -0000 Re: Using readline 4.2 with c++, Chet Ramey
Previous in thread:
Next in thread: 5 Sep 2001 15:03:40 -0000 Re: Using readline 4.2 with c++, Chet Ramey


Powered by ezmlm-browse 0.20.