I tried putting the following in near the start of the patch ========= #define _wspawnv #define _wspawnve #define _wspawnvp #define _wspawnvpe ========= This gets rid of the "error: '_wspawnvpe' was not declared in this scope" etc errors during build, but then a whole lot more come up. ========= Make error line 195: problem compiling: src/extension/implementation/script.cpp: In function 'gboolean Inkscape::Extension::Implementation::read_helper_report(i nt, gint*, GError**)': src/extension/implementation/script.cpp:986: warning: comparison between signed and unsigned integer expressions src/extension/implementation/script.cpp:1022: warning: comparison between signed and unsigned integer expressions src/extension/implementation/script.cpp: In function 'gboolean Inkscape::Extensi on::Implementation::do_spawn_directly(gint*, gboolean, GSpawnFlags, gchar**, cha r**, char**, void (*)(void*), void*, void**, GError**)': src/extension/implementation/script.cpp:1252: warning: left-hand operand of comm a has no effect src/extension/implementation/script.cpp:1252: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1252: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1252: error: invalid conversion from 'co nst wchar_t**' to 'int' src/extension/implementation/script.cpp:1254: warning: left-hand operand of comm a has no effect src/extension/implementation/script.cpp:1254: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1254: error: invalid conversion from 'co nst wchar_t**' to 'int' src/extension/implementation/script.cpp:1257: warning: left-hand operand of comm a has no effect src/extension/implementation/script.cpp:1257: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1257: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1257: error: invalid conversion from 'co nst wchar_t**' to 'int' src/extension/implementation/script.cpp:1259: warning: left-hand operand of comm a has no effect src/extension/implementation/script.cpp:1259: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1259: error: invalid conversion from 'co nst wchar_t**' to 'int' src/extension/implementation/script.cpp: In function 'gboolean Inkscape::Extensi on::Implementation::do_spawn_with_pipes(gint*, gboolean, const gchar*, gchar**, char**, GSpawnFlags, void (*)(void*), void*, void**, gint*, gint*, gint*, gint*, GError**)': src/extension/implementation/script.cpp:1388: warning: deprecated conversion fro m string constant to 'gchar*' src/extension/implementation/script.cpp:1390: warning: deprecated conversion fro m string constant to 'gchar*' src/extension/implementation/script.cpp:1440: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1445: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1455: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1459: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1469: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1473: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1482: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1484: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1487: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1489: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1492: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1494: warning: deprecated conversion fro m string constant to 'char*' src/extension/implementation/script.cpp:1551: warning: left-hand operand of comm a has no effect src/extension/implementation/script.cpp:1551: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1551: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1551: error: invalid conversion from 'co nst wchar_t**' to 'int' src/extension/implementation/script.cpp:1553: warning: left-hand operand of comm a has no effect src/extension/implementation/script.cpp:1553: warning: right-hand operand of com ma has no effect src/extension/implementation/script.cpp:1553: error: invalid conversion from 'co nst wchar_t**' to 'int' src/util/glib-list-iterators.h: In member function 'T* const& Inkscape::Util::GS ListConstIterator::operator*() const [with T = SPItem]': src/extension/implementation/script.cpp:557: instantiated from here src/util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer wi ll break strict-aliasing rules ========== Any thoughts?