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/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to