Skip to content

Commit b4e6f71

Browse files
mulle-natCopilot
andcommitted
fix: suppress -Wobjc-method-access warnings with forward declarations
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1b65723 commit b4e6f71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+70
-309
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ perf.data
9090
*.notyet
9191
.roam
9292
.graveyard
93+
*.tmp.*
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
/opt/mulle-clang-project-windows/latest/bin/x86_64-w64-mingw32-clang -O0 -g -fobjc-tao -o /home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime/cache/methodlist-walk-basic.exe methodlist-walk-basic.m -DMULLE_TEST=1 -I/home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime -I/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/include -L/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/lib -lmulle-objc-runtime -lmulle-core -Wl,--whole-archive -lmulle-core-all-load -lmulle-objc-runtime-startup -Wl,--no-whole-archive -lmulle-testallocator -lpsapi -lunwind -Wl,--export-all-symbols
2-
methodlist-walk-basic.m:4:12: warning: class 'TestClass' defined without specifying a base class [-Wobjc-root-class]
3-
4 | @interface TestClass
4-
| ^
5-
methodlist-walk-basic.m:4:21: note: add a super class to fix this problem
6-
4 | @interface TestClass
7-
| ^
8-
1 warning generated.
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
/opt/mulle-clang-project-windows/latest/bin/x86_64-w64-mingw32-clang -O0 -g -fobjc-tao -o /home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime/category-dependencies/no-dependency.exe no-dependency.m -DMULLE_TEST=1 -I/home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime -I/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/include -L/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/lib -lmulle-objc-runtime -lmulle-core -Wl,--whole-archive -lmulle-core-all-load -lmulle-objc-runtime-startup -Wl,--no-whole-archive -lmulle-testallocator -lpsapi -lunwind -Wl,--export-all-symbols
2-
no-dependency.m:8:12: warning: class 'A' defined without specifying a base class [-Wobjc-root-class]
3-
8 | @interface A
4-
| ^
5-
no-dependency.m:8:13: note: add a super class to fix this problem
6-
8 | @interface A
7-
| ^
8-
1 warning generated.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mulle_objc_universe 0x6ffffc3ab158 error: category "A( Cat2)" overrides method 9f37ed7a "foo" of category "A( Cat1)" in class "A" but does not implement +dependencies
1+
mulle_objc_universe 0x6ffffc5db158 error: category "A( Cat2)" overrides method 9f37ed7a "foo" of category "A( Cat1)" in class "A" but does not implement +dependencies
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
/opt/mulle-clang-project-windows/latest/bin/x86_64-w64-mingw32-clang -O0 -g -fobjc-tao -o /home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime/category-dependencies/proper-dependency.exe proper-dependency.m -DMULLE_TEST=1 -I/home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime -I/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/include -L/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/lib -lmulle-objc-runtime -lmulle-core -Wl,--whole-archive -lmulle-core-all-load -lmulle-objc-runtime-startup -Wl,--no-whole-archive -lmulle-testallocator -lpsapi -lunwind -Wl,--export-all-symbols
2-
proper-dependency.m:8:12: warning: class 'A' defined without specifying a base class [-Wobjc-root-class]
3-
8 | @interface A
4-
| ^
5-
proper-dependency.m:8:13: note: add a super class to fix this problem
6-
8 | @interface A
7-
| ^
8-
1 warning generated.
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
/opt/mulle-clang-project-windows/latest/bin/x86_64-w64-mingw32-clang -O0 -g -fobjc-tao -o /home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime/category-dependencies/three-category-chain.exe three-category-chain.m -DMULLE_TEST=1 -I/home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime -I/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/include -L/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/lib -lmulle-objc-runtime -lmulle-core -Wl,--whole-archive -lmulle-core-all-load -lmulle-objc-runtime-startup -Wl,--no-whole-archive -lmulle-testallocator -lpsapi -lunwind -Wl,--export-all-symbols
2-
three-category-chain.m:8:12: warning: class 'A' defined without specifying a base class [-Wobjc-root-class]
3-
8 | @interface A
4-
| ^
5-
three-category-chain.m:8:13: note: add a super class to fix this problem
6-
8 | @interface A
7-
| ^
8-
1 warning generated.
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
/opt/mulle-clang-project-windows/latest/bin/x86_64-w64-mingw32-clang -O0 -g -fobjc-tao -o /home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime/category-dependencies/wrong-dependency.exe wrong-dependency.m -DMULLE_TEST=1 -I/home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime -I/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/include -L/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/lib -lmulle-objc-runtime -lmulle-core -Wl,--whole-archive -lmulle-core-all-load -lmulle-objc-runtime-startup -Wl,--no-whole-archive -lmulle-testallocator -lpsapi -lunwind -Wl,--export-all-symbols
2-
wrong-dependency.m:8:12: warning: class 'A' defined without specifying a base class [-Wobjc-root-class]
3-
8 | @interface A
4-
| ^
5-
wrong-dependency.m:8:13: note: add a super class to fix this problem
6-
8 | @interface A
7-
| ^
8-
1 warning generated.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mulle_objc_universe 0x6ffffc3ab158 error: category "A( Cat2)" overrides method 9f37ed7a "foo" of category "A( Cat1)" in class "A" but +dependencies does not list { 40bf6ccc, f597522d }
1+
mulle_objc_universe 0x6ffffc5db158 error: category "A( Cat2)" overrides method 9f37ed7a "foo" of category "A( Cat1)" in class "A" but +dependencies does not list { 40bf6ccc, f597522d }
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
/opt/mulle-clang-project-windows/latest/bin/x86_64-w64-mingw32-clang -O0 -g -fobjc-tao -o /home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime/class/class-reuse.exe class-reuse.m -DMULLE_TEST=1 -I/home/src/srcO/mulle-objc/mulle-objc-runtime/test-compiler-runtime -I/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/include -L/home/nat/.mulle/var/cache/sde/mulle-objc-runtime-a98cd9f4aec5/dependency/windows/Debug/lib -lmulle-objc-runtime -lmulle-core -Wl,--whole-archive -lmulle-core-all-load -lmulle-objc-runtime-startup -Wl,--no-whole-archive -lmulle-testallocator -lpsapi -lunwind -Wl,--export-all-symbols
2-
class-reuse.m:4:12: warning: class 'Bar' defined without specifying a base class [-Wobjc-root-class]
3-
4 | @interface Bar
4-
| ^
5-
class-reuse.m:4:15: note: add a super class to fix this problem
6-
4 | @interface Bar
7-
| ^
8-
1 warning generated.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Infraclass reuses allocs
2-
elapsed: 18.242s
2+
elapsed: 18.454s

0 commit comments

Comments
 (0)