Bug 1823

Summary: frysk-core/frysk/expr/RunCppParser.java has ecj 3.1 compile problems
Product: frysk Reporter: Adam Jocksch <ajocksch>
Component: generalAssignee: Tarun Khanna <tkhanna>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1824    

Description Adam Jocksch 2005-11-07 15:03:46 UTC
The following warnings appear with the new ecj compiler:

ecj -d classes -warn:+semicolon -g -sourcepath ../../frysk/frysk-core:.
-classpath
../frysk-imports/junit.jar:../frysk-sys/classes:../frysk-imports/classes:../frysk-imports/jline.jar:../frysk-imports/antlr.jar:../frysk-imports/junit.jar
../../frysk/frysk-core/frysk/expr/RunCppParser.java 2>&1 | tee
frysk/expr/RunCppParser.log
----------
1. WARNING in ../../frysk/frysk-core/frysk/expr/RunCppParser.java
 (at line 238)
        PrintWriter pw = new PrintWriter(System.out);
                    ^^
The local variable pw is never read
----------
----------
2. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 104)
        AST tmp61_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp61_AST_in is never read
----------
----------
3. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 119)
        AST tmp62_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp62_AST_in is never read
----------
----------
4. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 134)
        AST tmp63_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp63_AST_in is never read
----------
----------
5. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 149)
        AST tmp64_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp64_AST_in is never read
----------
----------
6. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 164)
        AST tmp65_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp65_AST_in is never read
----------
----------
7. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 187)
        AST tmp66_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp66_AST_in is never read
----------
----------
8. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 210)
        AST tmp67_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp67_AST_in is never read
----------
----------
9. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 225)
        AST tmp68_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp68_AST_in is never read
----------
----------
10. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 240)
        AST tmp69_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp69_AST_in is never read
----------
----------
11. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 255)
        AST tmp70_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp70_AST_in is never read
----------
----------
12. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 270)
        AST tmp71_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp71_AST_in is never read
----------
----------
13. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 285)
        AST tmp72_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp72_AST_in is never read
----------
----------
14. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 300)
        AST tmp73_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp73_AST_in is never read
----------
----------
15. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 315)
        AST tmp74_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp74_AST_in is never read
----------
----------
16. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 330)
        AST tmp75_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp75_AST_in is never read
----------
----------
17. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 345)
        AST tmp76_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp76_AST_in is never read
----------
----------
18. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 360)
        AST tmp77_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp77_AST_in is never read
----------
----------
19. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 375)
        AST tmp78_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp78_AST_in is never read
----------
----------
20. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 405)
        AST tmp79_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp79_AST_in is never read
----------
----------
21. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 426)
        AST tmp80_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp80_AST_in is never read
----------
----------
22. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 447)
        AST tmp81_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp81_AST_in is never read
----------
----------
23. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 468)
        AST tmp82_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp82_AST_in is never read
----------
----------
24. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 489)
        AST tmp83_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp83_AST_in is never read
----------
----------
25. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 510)
        AST tmp84_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp84_AST_in is never read
----------
----------
26. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 531)
        AST tmp85_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp85_AST_in is never read
----------
----------
27. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 552)
        AST tmp86_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp86_AST_in is never read
----------
----------
28. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 573)
        AST tmp87_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp87_AST_in is never read
----------
----------
29. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 594)
        AST tmp88_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp88_AST_in is never read
----------
----------
30. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 615)
        AST tmp89_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp89_AST_in is never read
----------
----------
31. WARNING in /home/ajocksch/frysk-bin/frysk-core/./frysk/expr/CppTreeParser.java
 (at line 636)
        AST tmp90_AST_in = (AST)_t;
            ^^^^^^^^^^^^
The local variable tmp90_AST_in is never read
----------
----------
32. WARNING in
/home/ajocksch/frysk-bin/frysk-core/../../frysk/frysk-core/frysk/lang/IntegerType.java
 (at line 212)
        long v2=0;
             ^^
The local variable v2 is never read
----------
Comment 1 Tarun Khanna 2005-11-14 18:43:29 UTC
Commented out the code that was generating the warnings..