gnu/114517: Missing objc/objc-decls.h header
Landon Fuller
landonf at threerings.net
Thu Jul 12 03:50:05 UTC 2007
>Number: 114517
>Category: gnu
>Synopsis: Missing objc/objc-decls.h header
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 12 03:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Landon Fuller
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
Three Rings Design, Inc.
>Environment:
System: FreeBSD lfreebsd7.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jul 11 13:06:03 PDT 2007 root at lfreebsd7.localdomain:/usr/obj/usr/src/sys/GENERIC i386
>Description:
GCC 4.2 includes a new Objective-C header, "objc-decls.h", that is not installed on 7.0-CURRENT.
>How-To-Repeat:
landonf at lfreebsd7:~> cat objc.m
#include <objc/objc.h>
#include <objc/objc-api.h>
int main (int argc, const char *argv[]) {
id class = objc_lookup_class("Object");
return 0;
}
landonf at lfreebsd7:~> gcc objc.m -o test -lobjc
In file included from objc.m:2:
/usr/include/objc/objc-api.h:33:24: error: objc-decls.h: No such file or directory
>Fix:
--- gnu/lib/libobjc/Makefile.orig 2007-07-11 20:36:28.000000000 -0700
+++ gnu/lib/libobjc/Makefile 2007-07-11 20:37:07.000000000 -0700
@@ -13,7 +13,7 @@
nil_method.c NXConstStr.m Object.m objects.c Protocol.m sarray.c \
selector.c sendmsg.c thr.c thr-objc.c exception.c
-INCS= encoding.h hash.h objc-api.h objc-list.h objc.h runtime.h \
+INCS= encoding.h hash.h objc-api.h objc-decls.h objc-list.h objc.h runtime.h \
sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h
INCSDIR=${INCLUDEDIR}/objc
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list