compilation of scilab-master on OSX Sierra

classic Classic list List threaded Threaded
2 messages Options
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

compilation of scilab-master on OSX Sierra

Hello,

I have the following compilation error in module io :

src/cpp/loadlib.cpp: Dans la fonction ‘types::Library* loadlib(const
wstring&, int*, bool, bool)’:
src/cpp/loadlib.cpp:41:77: erreur : invalid conversion from ‘int’ to
‘BOOL’ [-fpermissive]
      wchar_t* pwstXML = pathconvertW(_wstXML.data(), FALSE, FALSE,
AUTO_STYLE);

I use gcc5 as recommended. Is there a flag to add at configure time ?

S.

--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Paul Bignier Paul Bignier
Reply | Threaded
Open this post in threaded view
|

Re: compilation of scilab-master on OSX Sierra


Hello Stéphane,

Scilab is now compiled with native clang (in macOS, gcc points to /usr/bin/clang), can you please try with it?

Regards,

Paul


Paul BIGNIER
Development engineer
-----------------------------------------------------------
ESI Group - Scilab
99 rue des Solets - 94513 Rungis, France
Phone: +33.1.41.73.58.77
https://scilab.io
https://esi-group.com




From: dev <[hidden email]> on behalf of Stéphane Mottelet <[hidden email]>
Sent: Monday, March 5, 2018 3:18 PM
To: List dedicated to development questions
Subject: [Scilab-Dev] compilation of scilab-master on OSX Sierra
 
Hello,

I have the following compilation error in module io :

src/cpp/loadlib.cpp: Dans la fonction ‘types::Library* loadlib(const
wstring&, int*, bool, bool)’:
src/cpp/loadlib.cpp:41:77: erreur : invalid conversion from ‘int’ to
‘BOOL’ [-fpermissive]
      wchar_t* pwstXML = pathconvertW(_wstXML.data(), FALSE, FALSE,
AUTO_STYLE);

I use gcc5 as recommended. Is there a flag to add at configure time ?

S.

--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev