[antlr-interest] My Progress on C++ Target

Gokulakannan Somasundaram gokul007 at gmail.com
Fri Feb 10 00:14:17 PST 2012


On Fri, Feb 10, 2012 at 4:10 AM, A Z <asicaddress at gmail.com> wrote:

> Hi Gokulakannan,
>
> Are you targeting this for Linux as well? The definition for
> ANTLR_BEGIN_NAMESPACE is contained within "#ifdef    ANTLR_WINDOWS" so the
> compile fails. If I fix this I get a lot of template-related errors:
>
> error: use 'template' keyword to treat 'RewriteStreamType' as a dependent
> template name
>         typedef typename ImplTraits::RewriteStreamType< ComponentType >
> RewriteStreamType;
>
>
>
> Of course, i am targeting Linux as well. i will change the namespace
definition as you said. But once i get things working with Windows, i will
start testing and fixing bugs on linux as well. I am having a hard time
with String Templates and code conversion. That's really slowing me now.

Gokul.


More information about the antlr-interest mailing list