Skip to content

Commit

Permalink
Fix "error: import of C++ module 'libde265' appears within extern "C"…
Browse files Browse the repository at this point in the history
… language linkage specification [-Wmodule-import-in-extern-c]"

Use a custom modulemap for SwiftPM for rescue, because I don't want to use unsafeFlags
  • Loading branch information
dreampiggy committed May 30, 2022
1 parent dcab069 commit 32508f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module libde265 [extern_c] {
umbrella header "libde265/de265.h"
export *
}

0 comments on commit 32508f7

Please sign in to comment.