In XCode 9 (running the app from XCode) I am getting this build error:
Typedef redefinition with different types (‘uint_least16_t’ (aka ‘unsigned short’) vs ‘char16_t’)
On the line of import of the generated [Target]-Swift.h header (we have swift code used in obj-c code).
I tried changing the “C++ Language Dialect” from “Compiler Default” to anything above C++ 98 and it solved the build issue in XCode, but now the gradle build fails with this error:
The following build commands failed:
CompileC /[path]/build/moe/xcodebuild/obj/Muvix.build/Release-iphoneos/[…].build/Objects-normal/armv7/[…].o [path]/[…].m normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
So, what compiler dialect should I choose and how do I make it work in gradle too?