Commit 7342a3ae authored by Tiago Peixoto's avatar Tiago Peixoto

Fix compilation error with Python 2

This re-enables the 'register' keyword with C++17, which is still
required for Python 2.
parent c1a7bdf3
Pipeline #451 failed with stage
in 996 minutes and 55 seconds
......@@ -71,6 +71,10 @@ dnl set default visibility
dnl set default optimizations
[CXXFLAGS="-O3 ${CXXFLAGS}"]
dnl Python 2 compatibility
[CXXFLAGS="${CXXFLAGS} -Wno-register"]
dnl OpenMP
AC_DEFINE([OPENMP_MIN_THRESH], 300, [default minimum number of vertices for parallel loops])
AC_MSG_CHECKING(whether to enable parallel algorithms with openmp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment