Skip to main content

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

You can disable @SuppressWarnings using command line option:
"-warn:-suppress", so as for instance to revisit them all if you'd like (by
default, @SuppressWarnings are enabled).
It feels almost like someone would have set this option off per accident ?

Just my 2 cents.



                                                                           
             "Walter Harley"                                               
             <wharley@xxxxxxx>                                             
             Sent by:                                                   To 
             platform-releng-d         "Eclipse platform release           
             ev-bounces@eclips         engineering list."                  
             e.org                     <platform-releng-dev@xxxxxxxxxxx>   
                                                                        cc 
                                                                           
             10/12/2007 23:38                                      Subject 
                                       [platform-releng-dev] compiler      
                                       warnings                            
             Please respond to                                             
             "Eclipse platform                                             
                  release                                                  
                engineering                                                
                  list."                                                   
             <platform-releng-                                             
             dev@xxxxxxxxxxx>                                              
                                                                           
                                                                           




There are a lot of compiler warnings in the releng builds on
org.eclipse.jdt.apt.tests.  Specifically, I'm seeing "The local variable
[xxx] is never read", even though there is an
@SuppressWarnings("unused") on the relevant classes; and I'm seeing
"Type safety: Unchecked cast from [xxx] to [yyy]>", even though there is
a @SuppressWarnings("unchecked").

These warnings do not appear in my local workspace.  I have default
settings for compiler warnings at the workspace level, and the project
does not have any project-specific setting.  My dev host environment is
I20071101-0010, which I think == 3.4M3.  There are no -warn options in
build.properties (viz. Andrew Niefer's mail to this list on 11/7/07).

Does anyone know why @SuppressWarnings would be getting ignored in test
plug-ins?

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




Back to the top