[antlr-interest] Re: Compilation Errors on Solaris

avsinh avsinh at yahoo.com
Fri Aug 16 12:42:56 PDT 2002


Hi Ric,

I am using Antlr 2.7.1

The CC version is Sun Workshop Version 6 Update 2.
i.e. 6.2

regards,
anupam

--- In antlr-interest at y..., Ric Klaren <klaren at c...> wrote:
> Hi,
> 
> On Fri, Aug 16, 2002 at 01:24:34AM -0000, avsinh wrote:
> > I get the following errors when I am compiling a grammar generated 
> > through antlr on solaris 2.8
> 
> Which antlr version are you using and which compiler?
> 
> > "/antlr/RefCount.hpp", line 38: Error: namespace is not defined.
> > "/antlr/RefCount.hpp", line 38: Error: "," expected instead of "{".
> > "/antlr/RefCount.hpp", line 47: Error: T is not defined.
> > "/antlr/RefCount.hpp", line 48: Error: Type name expected instead 
> 
> Looks like a problem with the define's with namespace stuff. This can
> usually be tweaked in config.hpp unless this is triggered by
something in
> previous headerfiles.
> 
> Ric
> -- 
>
-----+++++*****************************************************+++++++++---=
----
>     ---- Ric Klaren ----- klaren at c... ----- +31 53 4893722  ----
>
-----+++++*****************************************************+++++++++---=
----
>      Innovation makes enemies of all those who prospered under the old
>    regime, and only lukewarm support is forthcoming from those who would
>                prosper under the new. --- Niccolò Machiavelli


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list