Skip to content
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

[SR-10975] Improve the error message when a C target is missing the include directory #4693

Open
hartbit opened this issue Jun 19, 2019 · 1 comment
Labels

Comments

@hartbit
Copy link
Collaborator

hartbit commented Jun 19, 2019

Previous ID SR-10975
Radar rdar://problem/52162539
Original Reporter @hartbit
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: cf94b20028258c06eeacb2664750dd0a

Issue Description:

Currently, if a C target has header and source files in the same folder, without the required include dir, the target will build. But depending on it from a Swift target with generate an unhelpful error message:

<unknown>:0: error: module map file '/Users/david/Projects/GRDB.swift/.build/x86_64-apple-macosx/debug/SQLCipher.build/module.modulemap' not found
<unknown>:0: error: module map file '/Users/david/Projects/GRDB.swift/.build/x86_64-apple-macosx/debug/SQLCipher.build/module.modulemap' not found
<unknown>:0: error: missing required module 'SwiftShims' 

The error message should be improved and trigger when building the C target.

@ankitspd
Copy link
Member

@radar create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants