dynamic link demo fixed 42/20842/4
Cedric Delamarre [Tue, 12 Feb 2019 15:09:38 +0000 (16:09 +0100)]
  demos -> dynamic link -> c++ function using standard library

Change-Id: If7661d30b178cf4c3fc87b9f5c40fe4babd51a98

scilab/modules/dynamic_link/demos/call_cxx_stdlib.sce

index ab905a5..cb9cfc2 100644 (file)
@@ -97,7 +97,7 @@ if haveacompiler() then
 
         mprintf("\n");
         mprintf(gettext("Calling ilib_for_link to build C++ function.\n"));
-        lib_ = ilib_for_link(["barxx"], "barxx.cxx", [],"c");
+        lib_ = ilib_for_link(["barxx"], "barxx.cxx", [], "c", "", "loader.sce", "", "", " -std=c++11");
         link(lib_, "barxx", "c");
         ilib_build("gw_barxx",["barxx" "sci_barxx"],"sci_barxx.c",basename(lib_));
         exec loader.sce ;