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

Group
 
 

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

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Fri 20 Jan 2012 10:04:20 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Installation Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Oct 2020 12:38:57 PM UTC, comment #1: 

This has been fixed in the intervening time.  Please reopen if this is not currently the case.

Gregory John Casamento <gcasa>
Group administrator
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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-26 gcasa StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code