[antlr-interest] Problem about C++ runtime model compiled by pathscale compiler under redhat(x86-

Ric Klaren ric.klaren at gmail.com
Fri Dec 16 03:55:41 PST 2005


Hi,

On 12/9/05, Lin Teng <linteng118 at hotmail.com> wrote:
>   I try to post this message to antlr-interest but get rejected by some
> unknown
> reason. I run into a problem in c++ run time model, hope I can get some help
> from you.
>   I attemp to get antlr-2.7.5 to compiler my grammer. It is perfectly
> compiled
> by pathscale compiler (2.1.99) under Redhat (AMD Opertron). Unfortanetly,
> every
> time below message will be thrown,
> terminate called after throwing an instance of
> 'antlr::NoViableAltForCharException'

Could it be that the pathscale compiler does not have exception
support enabled by default? You can quickly test this by compiling a
small program with a dummy try { throw } catch { }. Or check the
documentation of the compiler if extra options are needed to enable
exception support.

Cheers,

Ric


More information about the antlr-interest mailing list