[antlr-interest] Compilation Errors on Solaris

avsinh avsinh at yahoo.com
Thu Aug 15 18:24:34 PDT 2002


Hi,

I get the following errors when I am compiling a grammar generated 
through antlr on solaris 2.8

Has anybody encountered similar errors?

regards,
anupam


"/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 
of "Ref".
"/antlr/RefCount.hpp", line 48: Error: Illegal number of arguments 
for ~file level().
"/antlr/RefCount.hpp", line 48: Error: ptr is not defined.
"/antlr/RefCount.hpp", line 48: Error: Badly formed expression.
"/antlr/RefCount.hpp", line 49: Error: Multiple declaration for Ref.
"/antlr/RefCount.hpp", line 49: Error: "," expected instead of "*".
"/antlr/RefCount.hpp", line 49: Error: A declaration was expected 
instead of "return".
"/antlr/RefCount.hpp", line 51: Error: A declaration was expected 
instead of "private".
"/antlr/RefCount.hpp", line 52: Error: ")" expected instead of "&".
"/antlr/RefCount.hpp", line 53: Error: Multiple declaration for Ref.
"/antlr/RefCount.hpp", line 53: Error: "," expected instead of "&".
"/antlr/RefCount.hpp", line 54: Error: A declaration was expected 
instead of "}".
"/antlr/RefCount.hpp", line 56: Error: A declaration was expected 
instead of "public".
"/antlr/RefCount.hpp", line 57: Error: "explicit" is not allowed here.
"/antlr/RefCount.hpp", line 57: Error: T is not defined.
"/antlr/RefCount.hpp", line 61: Error: ")" expected instead of "<".
"/antlr/RefCount.hpp", line 65: Error: Type name expected instead 
of "RefCount".
"/antlr/RefCount.hpp", line 66: Error: Illegal number of arguments 
for ~file level().
"/antlr/RefCount.hpp", line 66: Error: ~file level() already had a 
body defined.
"/antlr/RefCount.hpp", line 67: Error: int is not a structure type.
"/antlr/RefCount.hpp", line 69: Error: Multiple declaration for 
RefCount.
"/antlr/RefCount.hpp", line 69: Error: Template RefCount is not 
defined.















 

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



More information about the antlr-interest mailing list