bugGNUstep - Bugs: bug #25149, gnustep-base-1.18.0: broken...

 
 

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

bug #25149: gnustep-base-1.18.0: broken configure check for objc_set_unexpected()

Submitted by:  Bernard Cafarelli <voyageur>
Submitted on:  Mon 22 Dec 2008 02:15:43 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 22 Dec 2008 03:58:44 PM UTC, comment #1:

Thanks for that ... fixed in the 1.18.0 release at http://svn.gna.org/viewcvs/gnustep/libs/base/tags/base-1_18_0/ and now on ftp too.

Richard Frith-Macdonald <CaS>
Project Member
Mon 22 Dec 2008 02:15:43 PM UTC, original submission:

From 1.18.0 changelog:

  • config/config.unexpected.m: Add check for objc_set_unexpected

This check does not work if objc_set_unexpected is not available, as autoconf only tries to compile the test file, not link it (which does not generate any errors/warnings, except implicit declaration warning if it is activated). I've changed the configure line to AC_LINK_IFELSE instead of AC_COMPILE_IFELSE to get correct detection. Without that, the test succeeds and compilation fails on NSException.m

I'll attach the one-liner patch, not sure if this is the best fix but it works for me

Bernard Cafarelli <voyageur>

 

Attached Files
file #17111:  gnustep-base-1.18.0-unexpected_check.patch added by voyageur (510B - text/x-patch - Patch for configure.ac in 1.18.0)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by voyageur (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Dec 2008 03:58:44 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 22 Dec 2008 02:15:43 PM UTCvoyageurAttached File-=>Added gnustep-base-1.18.0-unexpected_check.patch, #17111

    Back to the top


    Powered by Savane 3.1-cleanup1