D14132: Improve Julia login time

Alexander Semke noreply at phabricator.kde.org
Sat Jul 21 08:29:37 BST 2018


asemke added a comment.


  This doesn't compile with julia 0.4.7
  
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp: In member function ‘void JuliaServer::parseJlModule(jl_module_t*)’:
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp:156:55: error: ‘jl_string_ptr’ was not declared in this scope
             const QString& moduleName = QString::fromUtf8(jl_string_ptr(jl_call1(jl_string_function, (jl_value_t*)(module->name))));
                                                           ^~~~~~~~~~~~~
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp:156:55: note: suggested alternative: ‘jl_string_data’
             const QString& moduleName = QString::fromUtf8(jl_string_ptr(jl_call1(jl_string_function, (jl_value_t*)(module->name))));
                                                           ^~~~~~~~~~~~~
                                                           jl_string_data
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp:171:46: error: ‘jl_string_ptr’ was not declared in this scope
                 QString name = QString::fromUtf8(jl_string_ptr(jl_call1(jl_string_function, data[i])));
                                                  ^~~~~~~~~~~~~
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp:171:46: note: suggested alternative: ‘jl_string_data’
                 QString name = QString::fromUtf8(jl_string_ptr(jl_call1(jl_string_function, data[i])));
                                                  ^~~~~~~~~~~~~
                                                  jl_string_data
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp:188:66: error: ‘jl_unionall_type’ was not declared in this scope
                 else if (datetype != jl_datatype_type && datetype != jl_unionall_type)
                                                                      ^~~~~~~~~~~~~~~~
    /home/alex/Projekte/cantor/src/backends/julia/juliaserver/juliaserver.cpp:188:66: note: suggested alternative: ‘jl_uniontype_type’
                 else if (datetype != jl_datatype_type && datetype != jl_unionall_type)
                                                                      ^~~~~~~~~~~~~~~~
                                                                      jl_uniontype_type
  
  Looks like we need to add additional include(s) containing the declarations of jl_string_ptr and jl_uniontype_type for 0.4.7.

REPOSITORY
  R55 Cantor

REVISION DETAIL
  https://phabricator.kde.org/D14132

To: sirgienko, asemke
Cc: kde-edu, asemke, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180721/00880411/attachment.html>


More information about the kde-edu mailing list