diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-10-04 00:03:54 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-10-11 14:28:53 +0100 |
commit | 67f984d62e3acd729e086d49780be8e3e5e69833 (patch) | |
tree | 981332f097cb4bbb14540472c4642a7943a5a8e8 /libobjc | |
parent | 8703bf5d31fdb4789b5eddca394f8e92a0c55801 (diff) | |
download | gcc-67f984d62e3acd729e086d49780be8e3e5e69833.zip gcc-67f984d62e3acd729e086d49780be8e3e5e69833.tar.gz gcc-67f984d62e3acd729e086d49780be8e3e5e69833.tar.bz2 |
testsuite, Objective-C : Compatibility fixes.
Changes to deal with warnings and/or errors seen when compiling the
tests with clang.
gcc/testsuite/ChangeLog:
* objc-obj-c++-shared/TestsuiteObject.h: If the compiler
supports objc_root_object attributes, then mark the testsuite
object accordingly.
* objc-obj-c++-shared/TestsuiteObject.m: Avoid direct access
to isa, which is an error for modern Objective-C.
* objc/execute/class-tests-1.h: Declare a string function we
use locally (avoid pulling in the whole of string.h).
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions