Godot version
3.x (28afd32)
System information
Github Workflow: iOS
Issue description
#68077 included trying to silence a number of warnings in the Bullet headers using:
|
#if defined(__clang__) && (__clang_major__ >= 13) |
|
#pragma clang diagnostic push |
|
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy" |
|
#endif |
However, this change sometimes causes the workflow builds to fail with:
error: unknown warning group '-Wdeprecated-copy-with-user-provided-copy', ignored [-Werror,-Wunknown-warning-option]
See: https://github.com/madmiraal/godot/actions/runs/3451765341/jobs/5761214187
We're using runs-on: "macos-latest", which should use macOS 11. However this is not always true. For example, I notice that when it failed it is running on macOS 11.7.1, but when it succeeded it's running on macOS 12.6.1; so this may be the difference.
Note: the version of clang is different with each version of the OS:
- macOS 11.7 comes with clang 13.0 1
- macOS 12.6 comes with clang 14.0 2
However, clang 13.0 does support -Wdeprecated-copy-with-user-provided-copy3. So, this shouldn't be the issue.
1 https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md
2 https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
3 https://releases.llvm.org/13.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-copy-with-user-provided-copy
Steps to reproduce
I pulled the 3.x branch and pushed it to my local fork.
Minimal reproduction project
N/A
Godot version
3.x (28afd32)
System information
Github Workflow: iOS
Issue description
#68077 included trying to silence a number of warnings in the Bullet headers using:
godot/modules/bullet/collision_object_bullet.h
Lines 40 to 43 in 28afd32
However, this change sometimes causes the workflow builds to fail with:
See: https://github.com/madmiraal/godot/actions/runs/3451765341/jobs/5761214187
We're using
runs-on: "macos-latest", which should use macOS 11. However this is not always true. For example, I notice that when it failed it is running onmacOS 11.7.1, but when it succeeded it's running onmacOS 12.6.1; so this may be the difference.Note: the version of clang is different with each version of the OS:
However, clang 13.0 does support
-Wdeprecated-copy-with-user-provided-copy3. So, this shouldn't be the issue.1 https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md
2 https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
3 https://releases.llvm.org/13.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-copy-with-user-provided-copy
Steps to reproduce
I pulled the 3.x branch and pushed it to my local fork.
Minimal reproduction project
N/A