[antlr-interest] Re: unchecked calls warnings compiling the lexer

Joan Pujol joanpujol at gmail.com
Wed Sep 29 00:18:45 PDT 2004


Hi,

I haven't tested it but the java compiler have this option:

-source release
    Specifies the version of source code accepted. The following
values for release are allowed:
    1.3 	the compiler does not support assertions, generics, or other
language features introduced after JDK 1.3.
    1.4 	the compiler accepts code containing assertions, which were
introduced in JDK 1.4.
    1.5 	the compiler accepts code containing generics and other
language features introduced in JDK 5. The compiler defaults to the
version 5 behavior if the -source flag is not used.
    5 	Synonym for 1.5

Cheers,


On Wed, 29 Sep 2004 00:39:39 +0300, Anakreon <anakreonmejdi at yahoo.gr> wrote:
> kozchris wrote:
> > I some some talk about a @PRAGMA addition to remove the warnings but
> > was unable to verify.
> >
> > Chris
> > 
> Consider using jikes for the files generated by antlr and javac for the rest.
> The class files are backward compatible, so there should be no problem in mixing
> the two sets of class files.
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 



-- 
Joan Jesús Pujol Espinar


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

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



More information about the antlr-interest mailing list