[Scilab-Dev] To be able to develop Scilab interface in C++

Sylvestre Ledru sylvestre.ledru at scilab.org
Mon Sep 1 15:35:49 CEST 2008


Le vendredi 29 août 2008 à 18:45 +0200, Collette Yann a écrit :
> Hello,
> 
> I was thinking about something else.
> First add some #ifdef to allows the compilation of a C++ interface via 
> g++. I found that it was necessary to remove some cast to void * in 
> CreateVar and to declare the main function as extern "C".
> if you compile a C++ scilab interface via g++, g++ emit some warnings 
> related to cast from strings to char * which are deprecated. So, soon, 
> it will not be possible to compile using g++.
> But my idea was to develop a "real" C++ interface like the one from octave.
OK, then, a better name would be a Scilab C++ API. Isn't it?  ;)

Cheers,
Sylvestre





More information about the dev mailing list