Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
c60e3adb
Commit
c60e3adb
authored
Dec 03, 2021
by
Antonio Rojas
Browse files
Fix build with julia 1.7
parent
cd388be6
Pipeline
#105755
passed with stage
in 18 minutes and 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/backends/julia/juliaserver/juliaserver.cpp
View file @
c60e3adb
...
...
@@ -91,7 +91,9 @@ void JuliaServer::runJuliaCommand(const QString &command)
if
(
jl_exception_occurred
())
{
// If exception occurred
// Show it to user in stderr
#if QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >= QT_VERSION_CHECK(1, 1, 0)
#if QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >= QT_VERSION_CHECK(1, 7, 0)
jl_value_t
*
ex
=
jl_current_task
->
ptls
->
previous_exception
;
#elif QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >= QT_VERSION_CHECK(1, 1, 0)
jl_value_t
*
ex
=
jl_get_ptls_states
()
->
previous_exception
;
#else
jl_value_t
*
ex
=
jl_exception_in_transit
;
...
...
Antonio Rojas
@arojas
mentioned in commit
bc3d4981
·
Dec 05, 2021
mentioned in commit
bc3d4981
mentioned in commit bc3d4981c467f21adb96bf790f4f2e81271b8587
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment