New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FYI]: -Wnomodule-import-in-extern-c
CCFLAGS is required for Xcode 15
#791
Comments
Hey, thanks for reporting this! May be worth just adjusting the header to avoid importing in extern. We have discussed this briefly in the Theos discord but don't believe we ever settled on a final solution. |
Discord discussion for reference: https://discord.com/channels/811490080278839327/811494949849661490/1188603122814296155 Adding to Lightmann's comment above: This is a change in the iOS 17 SDK (unrelated to toolchain). Currently we suggest using the Theos SDKs instead of the Xcode SDK. |
@leptos-null, how to use the Theos SDKs instead of the Xcode SDK? What do I have to write in the Makefile? |
|
@leptos-null The problem still exists,Xcode 14.3.1 |
having same issue any progress on it? |
What are the steps to reproduce this issue?
What happens?
compile error from substrate header.
What were you expecting to happen?
no error.
Paste any relevant logs, error output, etc.
We should add `-Wnomodule-import-in-extern-c` to CCFLAGS to fixing this issue. Ref: https://stackoverflow.com/questions/77203592/xcode-15-import-of-c-module-darwin-c-time-appears-within-extern-c-language
Additional context
No response
What OS are you seeing the problem on?
macOS
What OS version does it have installed?
14.3.1
What toolchain and version are you using?
Xcode 15.1
Which SDK version are you using?
automatic selection
What OS is your client device running?
iOS
What OS version does it have installed?
n/a
Which device model is it?
n/a
Which jailbreak is it using (if relevant)?
n/a
The text was updated successfully, but these errors were encountered: