diff --git a/compiler/generator/cpp/cpp_code_container.cpp b/compiler/generator/cpp/cpp_code_container.cpp index 3f31d776bb..c866a3f1a0 100644 --- a/compiler/generator/cpp/cpp_code_container.cpp +++ b/compiler/generator/cpp/cpp_code_container.cpp @@ -47,18 +47,18 @@ map CPPInstVisitor::gFunctionSymbolTable; dsp_factory_base* CPPCodeContainer::produceFactory() { - stringstream str; - stacktrace(str, 50); - std::cerr << str.str() << std::endl; - std::cout << str.str() << std::endl; - std::cerr << "fOut " << fOut << std::endl; std::cout << "fOut " << fOut << std::endl; if (fOut) { - std::cerr << " typeid(*fOut).name() " << typeid(*fOut).name() << std::endl; - std::cout << " typeid(*fOut).name() " << typeid(*fOut).name() << std::endl; + std::cerr << "typeid(*fOut).name() " << typeid(*fOut).name() << std::endl; + std::cout << "typeid(*fOut).name() " << typeid(*fOut).name() << std::endl; } + stringstream str; + stacktrace(str, 50); + std::cerr << str.str() << std::endl; + std::cout << str.str() << std::endl; + return new text_dsp_factory_aux( fKlassName, "", "", ((dynamic_cast(fOut)) ? dynamic_cast(fOut)->str() : ""), diff --git a/compiler/global.cpp b/compiler/global.cpp index 98f1cb31e1..f2cbdb3593 100644 --- a/compiler/global.cpp +++ b/compiler/global.cpp @@ -2668,8 +2668,8 @@ void callFun(threaded_fun fun, void* arg) fun(arg); #else /* - std::thread t(fun, arg); - t.join(); + std::thread tr(fun, arg); + tr.join(); */ fun(arg); #endif diff --git a/embedded/faustgen/src/faustgen_factory.h b/embedded/faustgen/src/faustgen_factory.h index ff633775a4..277f40f01b 100644 --- a/embedded/faustgen/src/faustgen_factory.h +++ b/embedded/faustgen/src/faustgen_factory.h @@ -43,7 +43,7 @@ #define FAUSTGEN_VERSION "1.73" // Possibly compile with Interp backend -//#define INTERP_BACKEND +#define INTERP_BACKEND #ifdef INTERP_BACKEND #include