Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] eclipse current CVS - build I20050401-1645 - compile error


This problem only occurs in the emulated version of the Path class. Looking at the classpath files this seems to be used only in the Photon build of swt. I try to understand why this error has not been detected during the build.

Olivier



Frederic Fusier <frederic_fusier@xxxxxxxxxx>
Sent by: eclipse-dev-bounces@xxxxxxxxxxx

04/02/2005 09:50 AM

Please respond to
"General development mailing list of the Eclipse project."

To
"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>
cc
Subject
Re: [eclipse-dev] eclipse current CVS - build I20050401-1645 - compile        error





After having installed build I20050401-1645, I've no compile error after
import of all plugins with sources and recompile all my workspace.
This build works perfectly.

What file are you currently editing to get this compiler error: CVS one or
the one extracted from build I20050401-1645 (it's not clear looking at your
mail subject)?

If this is CVS one, which version and what SWT projects have you
checked-out in your workspace?
I've checked out org.eclipse.swt (version v3128g) and org.eclipse.swt.win32
(version v3128) projects, and I cannot see method getBounds in
org.eclipse.swt/Eclipse\
SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java file...
I have a WinXP box, so I copied .classpath_win32 file to .classpath in
org.eclipse.swt project and rebuild my current workspace (I have all
org.eclipse.jdt.core projects in it) and I got no compiler error.
I edited Path.java, found getBounds(...) method) and saw that line 72 is
correct...

Perhaps did you get wrong version or forgot to set .classpath correctly?
Perhaps also it can be an OS issue, which one are you using for 3.1 M6?

Cordialement/Regards,

Frédéric




                                                                         
            snpe                                                          
            <snpe@xxxxxxxxxx>                                            
            Sent by:                                                   To
            eclipse-dev-bounc         "General development mailing list  
            es@xxxxxxxxxxx            of the Eclipse project."            
                                      <eclipse-dev@xxxxxxxxxxx>          
                                                                       cc
            04/02/2005 05:18                                              
            PM                                                    Subject
                                      [eclipse-dev] eclipse current CVS -
                                      build I20050401-1645 - compile      
            Please respond to         error                              
                "General                                                  
               development                                                
             mailing list of                                              
               the Eclipse                                                
                project."                                                
                                                                         
                                                                         




Hello,
  Current eclipse cvs have trivial compile error :

org.eclipse.swt/Eclipse\
SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java, line 72

missing } in function

public void getBounds(float[] bounds) {
   if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
   if (bounds == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
   if (bounds.length < 4) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
==> line 72

public void getCurrentPoint(float[] point) {
...

regards
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top