bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25149] gnustep-base-1.18.0: broken configure check for objc_set_un


From: Bernard Cafarelli
Subject: [bug #25149] gnustep-base-1.18.0: broken configure check for objc_set_unexpected()
Date: Mon, 22 Dec 2008 14:15:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.5) Gecko/2008121816 Gentoo Firefox/3.0.5

URL:
  <http://savannah.gnu.org/bugs/?25149>

                 Summary: gnustep-base-1.18.0: broken configure check for
objc_set_unexpected()
                 Project: GNUstep
            Submitted by: voyageur
            Submitted on: lun 22 déc 2008 14:15:43 GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

>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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lun 22 déc 2008 14:15:43 GMT  Name:
gnustep-base-1.18.0-unexpected_check.patch  Size: 510 o   By: voyageur
Patch for configure.ac in 1.18.0
<http://savannah.gnu.org/bugs/download.php?file_id=17111>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25149>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]