[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ddd won't compile with RUNTIME_REGEX 1
From: |
Arnaud Desitter |
Subject: |
Re: ddd won't compile with RUNTIME_REGEX 1 |
Date: |
Thu, 6 May 2004 19:09:28 +0100 |
Hi,
The first problem is fixed in the CVS repository. The second is not.
You need to add a definition of rxlist_range such as
#if RUNTIME_REGEXP
static regex rxlist_range( ... )
#endif
following the definition given in "rxscan.L".
Feel free to post a patch.
Regards,
----- Original Message -----
From: "Donna Robinson" <donna@terpsichore.ws>
Newsgroups: gmane.comp.debugging.ddd.bugs
Sent: Thursday, May 06, 2004 2:34 PM
Subject: ddd won't compile with RUNTIME_REGEX 1
> Hi,
>
> Number of problems if I change config.h to:
> #define WITH_RUNTIME_REGEX 1
> #define RUNTIME_REGEX 1
>
> in rxclass.C:
> void regex::fatal(int errcode, const char *src)
> --> cerr should be std::cerr 'cos you are using
> #include <iostream> and friends
>
> in comm-manag.C:
> void send_gdb_command( ... )
> make complains:
> comm-manag.C: error: `rxlist_range' undeclared (first use this function)
>
> because rxlist_range is inside
> #if !RUNTIME_REGEX
> ...
> #endif
> in regexps.h
>
> or am I being a twit here?
>
> Donna
>
> --
> No trees were destroyed in the sending
> of this contaminant-free message.
> However, we do concede that a significant number
> of electrons may have been inconvenienced.