bugGNUstep - Bugs: bug #35339, gnustep-make from svn doesn't...

 
 

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

bug #35339: gnustep-make from svn doesn't detect that clang/libobjc2 support native objc exceptions

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Fri 20 Jan 2012 10:04:20 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: InstallationStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 20 Jan 2012 10:04:20 AM UTC, original submission:

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

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 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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup