You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
When I use Yams in SPM project with C++ interop, I encounter the next error:
/SourcePackages/checkouts/Yams/Sources/CYaml/include/yaml.h:21:1: import of C++ module 'std_string_h' appears within extern "C" language linkage specification
#include <string.h>
^
<module-includes>:2:9: note: in file included from <module-includes>:1:<module-includes>:2:
#import "yaml.h"
^
/SourcePackages/checkouts/Yams/Sources/CYaml/include/yaml.h:16:1: note: extern "C" language linkage specification begins here
extern "C" {
^
error: could not build Objective-C module 'CYaml'
error: couldn't IRGen expression: Clang importer error
error: /SourcePackages/checkouts/Yams/Sources/CYaml/include/yaml.h:20:1: import of C++ module 'std_string_h' appears within extern "C" language linkage specification
#include <string.h>
^
I've no idea what the problem is.
The text was updated successfully, but these errors were encountered:
Hi there!
When I use Yams in SPM project with C++ interop, I encounter the next error:
I've no idea what the problem is.
The text was updated successfully, but these errors were encountered: