[antlr-interest] Compilation Errors on Solaris

Ric Klaren klaren at cs.utwente.nl
Fri Aug 16 01:59:21 PDT 2002


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 cs.utwente.nl ----- +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