bug-gnustep
[Top][All Lists]
Advanced

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

[bug #38190] base fails to detect whether objc really works with clang/l


From: Sebastian Reitenbach
Subject: [bug #38190] base fails to detect whether objc really works with clang/libobjc2
Date: Sun, 17 Feb 2013 15:41:59 +0000
User-agent: Mozilla/5.0 (X11; OpenBSD i386; rv:17.0) Gecko/20100101 Firefox/17.0

Follow-up Comment #2, bug #38190 (project gnustep):

The problem happens for me with clang 3.2 (latest release) and libobjc2 and
base both from SVN.

here is the part from config.log where it fails:

configure:13162: checking whether objc really works
configure:13192: clang -o conftest -O2 -pipe -g -O0  -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -fg
nu-runtime -x objective-c  -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib conftest.c  -pthread -Wl,-E -L/usr/local/lib -
pthread -shared-libgcc -fexceptions -fobjc-nonfragile-abi -fgnu-runtime
-L/GNUstep/Library/Libraries -L/usr/local/lib -L/usr/local/lib -pthre
ad -lobjc2 -lm   -pthread  >&5
clang-3: warning: argument unused during compilation: '-shared-libgcc'
In file included from conftest.c:98:
In file included from ././config/config.objc.m:2:
././config/objc-common.g:29:21: error: prefix attribute must be followed by an
interface or protocol
GS_OBJC_ROOT_CLASS @implementation NXConstantString
                    ^
In file included from conftest.c:98:
././config/config.objc.m:6:1: error: '@end' must appear in an Objective-C
context
@end
^
././config/config.objc.m:8:17: warning: cannot find interface declaration for
'Test'
@implementation Test
                ^
././config/config.objc.m:8:17: warning: class 'Test' defined without
specifying a base class [-Wobjc-root-class]
././config/config.objc.m:8:21: note: add a super class to fix this problem
@implementation Test
                    ^
2 warnings and 2 errors generated.
configure:13196: $? = 1
configure: program exited with status 1
configure: failed program was:
...




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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