[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] Compiler warnings

To silence the new warning on unused @SuppressWarnings, one should add
"-warn:-warningToken".
If this is too much of a pain, enter a bug, and we will turn it off by
default (we thought it was a good addition by default).



                                                                           
             Daniel Megert                                                 
             <daniel_megert@ch                                             
             .ibm.com>                                                  To 
             Sent by:                  "Eclipse platform release           
             platform-releng-d         engineering list."                  
             ev-bounces@eclips         <platform-releng-dev@xxxxxxxxxxx>   
             e.org                                                      cc 
                                                                           
                                                                   Subject 
             08/11/2007 09:54          Re: [platform-releng-dev] Compiler  
                                       warnings                            
                                                                           
             Please respond to                                             
             "Eclipse platform                                             
                  release                                                  
                engineering                                                
                  list."                                                   
             <platform-releng-                                             
             dev@xxxxxxxxxxx>                                              
                                                                           
                                                                           




>Compiler warnings for the test plugins are disabled for discouraged and
forbidden. For all other plugins, the warnings are the default that the jdt
core compiler provides.
Maybe the deprecation warning also got disabled for tests per accident.
This would explain it. If so, we either need to enable this again or set
the 'Unused @SuppressWarnings token' to 'ignore' for tests.

Dani



             Kim Moir
             <Kim_Moir@xxxxxxx
             com>                                                       To
             Sent by:                  "Eclipse platform release
             platform-releng-d         engineering list."
             ev-bounces@eclips         <platform-releng-dev@xxxxxxxxxxx>
             e.org                                                      cc

                                                                   Subject
             07.11.2007 23:15          Re: [platform-releng-dev] Compiler
                                       warnings

             Please respond to
             "Eclipse platform
                  release
                engineering
                  list."
             <platform-releng-
             dev@xxxxxxxxxxx>







Compiler warnings for the test plugins are disabled for discouraged and
forbidden. For all other plugins, the warnings are the default that the jdt
core compiler provides.

The releng build runs using pde build and it doesn't know anything about
the Java Builder settings in your project.   The manifest and
build.properties can be tweaked to change the compilation environment that
is used by pde build in the releng build.  See

http://wiki.eclipse.org/index.php/PDEBuild#Java_source_level_problems_during_Export



http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tasks/pde_compilation_env.htm



Kim



 "Walter Harley" <wharley@xxxxxxx>
 Sent by:
 platform-releng-dev-bounces@eclipse                                    To
 .org                                          "Eclipse platform release
                                               engineering list."
                                               <platform-releng-dev@eclips
 11/06/2007 11:29 AM                           e.org>
                                                                        cc

          Please respond to                                        Subject
      "Eclipse platform release                [platform-releng-dev]
          engineering list."                   Compiler warnings
  <platform-releng-dev@xxxxxxxxxxx>











With the new builder, a bunch of new compiler warnings have popped up
due to the new warning about unnecessary @SuppressWarnings.

This seems to be one of those "whack-a-mole" situations where it's hard
to make the warnings go away both on the local build and in the releng
build.  Some of the code in APT warns about unnecessary @SuppressWarning
in the releng build, but if I delete the @SuppressWarning, then it warns
about the warning I was trying to suppress in my local build.

What are the compiler warning levels in the releng build currently
determined by?  Is it 100% default settings for workspace and no
per-project settings, or is there an override?

Thanks,
 -walter
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev


_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev