diff --git a/oi/OICompiler.cpp b/oi/OICompiler.cpp index cd67c68..a11d684 100644 --- a/oi/OICompiler.cpp +++ b/oi/OICompiler.cpp @@ -499,6 +499,7 @@ bool OICompiler::compile(const std::string& code, compInv->getLangOpts()->Exceptions = true; compInv->getLangOpts()->CXXExceptions = true; compInv->getLangOpts()->Coroutines = true; + compInv->getLangOpts()->AlignedAllocation = true; compInv->getPreprocessorOpts(); compInv->getPreprocessorOpts().addRemappedFile(