Menu

Release 0.86 compilation

Developers
casamayor
2008-07-11
2012-10-08
  • casamayor

    casamayor - 2008-07-11

    Hi, I am using the ant build script within eclipse to build 0.86. I am getting the following error:

    Compiling 302 source files to C:\dev\RECODER\build
    [javac] C:\dev\RECODER\src\recoder\java\expression\ExpressionStatement.java:17: types recoder.java.LoopInitializer and recoder.java.Expression are incompatible; both define deepClone(), but with unrelated return types
    [javac] public interface ExpressionStatement extends Expression, LoopInitializer {
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

    I will try and fix this by using the eclipse compiler (see 0.82 problem thread), is this an acceptable solution or do you have other suggestions? The reason I ask is that the documentation suggests only using javac or jikes for compilation. What java compiler do you use during development?
    Any help is greatly appreciated.

     
    • Tobias Gutzmann

      Tobias Gutzmann - 2008-07-11

      Hej,

      As you mentioned, the bug has been filed before. Hopefully it will be fixed with the next JDK release, please cf. here:
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294779

      Concerning the documentation, I really need to redo that...

      /Tobias

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.