Open jrlanglois opened 3 years ago
Duktape does a faulty check for MSVC toolchains, specifically because MSVC has never supported the __cplusplus macro (which Duktape is using).
__cplusplus
It would be better to define the problematic macro up front, outside of Duktape:
#define DUK_F_CPP11 (JUCE_CXX14_IS_AVAILABLE) //Note that parentheses might be needed
:+1: cool with me! That's perhaps worth opening an issue for in the Duktape repo as well
Duktape does a faulty check for MSVC toolchains, specifically because MSVC has never supported the
__cplusplus
macro (which Duktape is using).It would be better to define the problematic macro up front, outside of Duktape: