[Bug objc/68944] New: Testsuite failures due to objc_object::isa deprecation
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 17:24:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68944
Bug ID: 68944
Summary: Testsuite failures due to objc_object::isa deprecation
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: objc
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-apple-darwin15.2.0
Target: x86_64-apple-darwin15.2.0
Build: x86_64-apple-darwin15.2.0
Several Objective-C and Objective-C++ testcases FAIL like this:
FAIL: obj-c++.dg/isa-field-1.mm -fnext-runtime (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/obj-c++.dg/isa-field-1.mm:19:25:
warning: 'objc_object::isa' is deprecated [-Wdeprecated-declarations]
<objc/objc.h> has
/// Represents an instance of a class.
struct objc_object {
Class isa OBJC_ISA_AVAILABILITY;
};
<objc/objc-api.h> has
/* OBJC_ISA_AVAILABILITY: `isa` will be deprecated or unavailable
* in the future */
#if !defined(OBJC_ISA_AVAILABILITY)
# if __OBJC2__
# define OBJC_ISA_AVAILABILITY __attribute__((deprecated))
# else
# define OBJC_ISA_AVAILABILITY /* still available */
# endif
#endif
Rainer
More information about the Gcc-bugs
mailing list