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/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep