upm
upm copied to clipboard
[javascript][v8] Support for swig 4.1.0
Support for swig 4.1.0
In swig 4.1.0, the complicated handling of "SWIG_V8_VERSION" has been cleaned up a bit. I made the same changes as in this swig.
Signed-off-by: Hirokazu MORIKAWA [email protected]
hi @nxhack @Propanu Checked with node 16.11.0 swig 4.1.0 -> does not work properly due to faulty call to nodeJS function available starting with C++14
- Tried to change std version from 11 to 14 failed
- worked with the following changes (not sure they are acceptable)
-
set (CMAKE_CXX_STANDARD 17) set (CMAKE_C_STANDARD 17)
-
Compilation finished only with warnings or mraa see #1064 and here for upm (Raspberry Pi 4(32bit) -3P-3 Thanks for the job :+1