]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin, fixincludes: Handle Apple Blocks in objc/runtime.h.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 18 Jan 2023 23:25:36 +0000 (23:25 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 21 Jan 2023 17:08:30 +0000 (17:08 +0000)
commit046dc9d0d4683bab99d28983d8841ba3c56ef744
treee11d2e67ffea6acd4af80518659d1a2077c33c22
parent442d2bdc1d2a98aba0b18aeaa3e87fa946ac8031
Darwin, fixincludes: Handle Apple Blocks in objc/runtime.h.

The macOS 13 SDK has unguarded Apple Blocks use in objc/runtime.h which
causes most of the objective-c tests to fail.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
fixincludes/ChangeLog:

* fixincl.x: Regenerate.
* inclhack.def (darwin_objc_runtime_1): New hack.
* tests/base/objc/runtime.h: New file.
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/objc/runtime.h [new file with mode: 0644]