bugGNUstep - Bugs: bug #23340, latest gorm svn breaks compilation...

Group
 
 

bug #23340: latest gorm svn breaks compilation in /usr/local/src/gnustep-gorm-trunk/Plugins/Nib

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Sat 24 May 2008 08:10:39 AM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Installation Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 24 Jun 2008 11:33:52 PM UTC, comment #6: 

The problem is that the gcc-2.95 compiler was selecting a method which was a class method from the list of methods which had the name "type."   I changed the name of the method to something more unique so that it would select the only prototype it had available which was "fileType."

When the compiler was selecting the wrong method it was attempting to use an instance method prototype to call a class method which was incorrect and was causing the strange error.

I have built this on an OpenBSD box I have access to, thanks to Riccardo, and verified that it works.

I am closing this bug.  Please re-open if you have any further issues with this fix.  GC

Gregory John Casamento <gcasa>
Group administrator
Sun 25 May 2008 03:47:44 PM UTC, comment #5: 

I checked out revision 26571.

Sebastian Reitenbach <buzzdee>
Group Member
Sun 25 May 2008 03:43:17 PM UTC, comment #4: 

It's still the same error output, but now the problem is on line 39. If access to that machine would help, send me your public ssh key. otherwise, let me know if I can help out somehow else.

thanks.

Sebastian Reitenbach <buzzdee>
Group Member
Sun 25 May 2008 01:10:57 PM UTC, comment #3: 

I don't have an OpenBSD machine to test this on at the present time.  I've made a fix which I believe will work.   Please try it again and report back here, if there's a problem or not.  Thanks.

Gregory John Casamento <gcasa>
Group administrator
Sat 24 May 2008 09:29:09 PM UTC, comment #2: 

This is still an issue.  It should work properly with everything back to gcc 2.95.x.

Gregory John Casamento <gcasa>
Group administrator
Sat 24 May 2008 10:24:09 AM UTC, comment #1: 

It compiles using gcc 4.2 from ports.

Sebastian Reitenbach <buzzdee>
Group Member
Sat 24 May 2008 08:10:39 AM UTC, original submission:  

checked out make, base, gui, back, and gorm from svn.
I'm on OpenBSD 4.3, sparc64.

gcc -v
Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd4.3/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)


gorm compilation fails with the following error message:

gmake[2]: Leaving directory `/usr/local/src/gnustep-gorm-trunk/Plugins/Gorm'
Making all in Nib...
gmake[2]: Entering directory `/usr/local/src/gnustep-gorm-trunk/Plugins/Nib'
Making all for bundle Nib...
gcc GormNibPlugin.m -c \
      -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -g -fno-strict-aliasing -fgnu-runtime -fconstant-string-class=NSConstantString -I../.. -I. -I/usr/local/include -I/root/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers \
       -o obj/GormNibPlugin.o
GormNibPlugin.m: In function `-[GormNibPlugin didLoad]':
GormNibPlugin.m:38: error: incompatible type for argument 3 of indirect function call
gmake[3]: * [obj/GormNibPlugin.o] Error 1
gmake[2]: * [Nib.all.bundle.variables] Error 2
gmake[2]: Leaving directory `/usr/local/src/gnustep-gorm-trunk/Plugins/Nib'
gmake[1]: * [internal-all] Error 2
gmake[1]: Leaving directory `/usr/local/src/gnustep-gorm-trunk/Plugins'
gmake: * [internal-all] Error 2

Sebastian Reitenbach <buzzdee>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-24 gcasa Open/ClosedIn Test Closed
    2008-05-25 gcasa StatusIn Progress Fixed
        Open/ClosedOpen In Test
    2008-05-24 gcasa StatusNone In Progress
        Assigned toNone gcasa

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code