bug-gnustep
[Top][All Lists]
Advanced

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

[bug #35339] gnustep-make from svn doesn't detect that clang/libobjc2 su


From: Sebastian Reitenbach
Subject: [bug #35339] gnustep-make from svn doesn't detect that clang/libobjc2 support native objc exceptions
Date: Fri, 20 Jan 2012 10:04:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110613 SUSE/3.6.18-0.2.1 Firefox/3.6.18

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

                 Summary: gnustep-make from svn doesn't detect that
clang/libobjc2 support native objc exceptions
                 Project: GNUstep
            Submitted by: buzzdee
            Submitted on: Fr 20 Jan 2012 10:04:20 GMT
                Category: Makefiles
                Severity: 3 - Normal
              Item Group: Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

When having libobjc2 installed, and then running configure in gnustep-make
from svn, then I see that it fails to detect native objc exceptions support:

here the relevant snippet from config.log:

configure:5704: checking for the GCC version
configure:5731: result: version: 4.2
configure:5752: checking whether the compiler supports native ObjC exceptions
configure:5780: clang -c  -fexceptions -fobjc-exceptions  conftest.c >&5
clang-3: warning: argument unused during compilation: '-fobjc-exceptions'
conftest.c:11:1: error: expected identifier or '('
@interface Test { id isa; } @end
^
1 error generated.
configure:5780: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| #include <objc/objc.h>
| @interface Test { id isa; } @end
| 
| int test (Test *o)
| {
|   @try
|     {
|       @throw o;
|     }
|    @catch (id foo)
|     {
|       if (o != foo)
|       return 1;
|     }
|   return 0;
| }
|
configure:5787: result: no




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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