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

Debug error #264

Open
GolDieTub opened this issue May 16, 2024 · 0 comments
Open

Debug error #264

GolDieTub opened this issue May 16, 2024 · 0 comments

Comments

@GolDieTub
Copy link

GolDieTub commented May 16, 2024

Hello, we have this repository as package dependency in my project (using Swift Package manager), after switching in build settings " C++ and Objective-C Interpretability" to C++/Objective-C++ we have an error during debugging
error: couldn't IRGen expression: Clang importer error
error: /Users/username/Library/Developer/Xcode/DerivedData/ProjectName/SourcePackages/checkouts/Zip/Zip/minizip/include/unzip.h:25:1: error: import of C++ module 'zlib' appears within extern "C" language linkage specification
#include <zlib.h>
^
error: /Users/username/Library/Developer/Xcode/DerivedData/ProjectName/SourcePackages/checkouts/Zip/Zip/minizip/include/unzip.h:29:1: error: import of C++ module 'Minizip' appears within extern "C" language linkage specification
#include "ioapi.h"
^
error: /Users/username/Library/Developer/Xcode/DerivedData/ProjectName/SourcePackages/checkouts/Zip/Zip/minizip/include/ioapi.h:36:1: error: import of C++ module 'zlib' appears within extern "C" language linkage specification
#include <zlib.h>
^
error: /Users/username/Library/Developer/Xcode/DerivedData/ProjectName/SourcePackages/checkouts/Zip/Zip/minizip/include/zip.h:23:1: error: import of C++ module 'zlib' appears within extern "C" language linkage specification

include <zlib.h>

^
error: /Users/username/Library/Developer/Xcode/DerivedData/ProjectName/SourcePackages/checkouts/Zip/Zip/minizip/include/zip.h:27:1: error: import of C++ module 'Minizip' appears within extern "C" language linkage specification

include "ioapi.h"

^
Can we do something with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant