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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Sat 24 May 2008 08:10:39 AM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: InstallationStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

(Jump to the original submission 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>
Project AdministratorIn charge of this item.
Sun 25 May 2008 03:47:44 PM UTC, comment #5:

I checked out revision 26571.

Sebastian Reitenbach <buzzdee>
Project 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>
Project 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
Sat 24 May 2008 10:24:09 AM UTC, comment #1:

It compiles using gcc 4.2 from ports.

Sebastian Reitenbach <buzzdee>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Jun 2008 11:33:52 PM UTCgcasaOpen/ClosedIn Test=>Closed
    Sun 25 May 2008 01:10:57 PM UTCgcasaStatusIn Progress=>Fixed
      Open/ClosedOpen=>In Test
    Sat 24 May 2008 09:29:09 PM UTCgcasaStatusNone=>In Progress
      Assigned toNone=>gcasa

    Back to the top


    Powered by Savane 3.1-cleanup1