|
From: Richard S. <hob...@gm...> - 2018-04-18 13:37:26
|
Getting closer... I have verified that exx_exceptions is getting compiled:
[ 18%] Building CXX object
src/Base/CMakeFiles/FreeCADBase.dir/usr/src/CXX/cxx_exceptions.cxx.o
cd /builddir/build/BUILD/FreeCAD-0.17/build/src/Base && /usr/bin/c++
-DFreeCADBase_EXPORTS -DHAVE_CONFIG_H -DHAVE_SWIG=1 -DQT_CORE_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB
-DQT_UITOOLS_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64
-I/builddir/build/BUILD/FreeCAD-0.17/build -I/usr/include/smesh -isystem
/usr/include/QtOpenGL -isystem /usr/include/QtSvg -isystem
/usr/include/QtUiTools -isystem /usr/include/QtWebKit -isystem
/usr/include/QtGui -isystem /usr/include/QtXml -isystem
/usr/include/QtNetwork -isystem /usr/include/QtCore
-I/builddir/build/BUILD/FreeCAD-0.17/build/src
-I/builddir/build/BUILD/FreeCAD-0.17/src
-I/builddir/build/BUILD/FreeCAD-0.17/build/src/Base
-I/builddir/build/BUILD/FreeCAD-0.17/src/Base -I/usr/include/python2.7
-Wall -Wextra -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection
-DPYCXX_6_2_COMPATIBILITY -std=c++11 -D_OCC64 -fPIC -o
CMakeFiles/FreeCADBase.dir/usr/src/CXX/cxx_exceptions.cxx.o -c
/usr/src/CXX/cxx_exceptions.cxx
But I'm still getting:
[ 23%] Building CXX object
src/Base/CMakeFiles/FreeCADBase.dir/Sequencer.cpp.o
cd /builddir/build/BUILD/FreeCAD-0.17/build/src/Base && /usr/bin/c++
-DFreeCADBase_EXPORTS -DHAVE_CONFIG_H -DHAVE_SWIG=1 -DQT_CORE_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB
-DQT_UITOOLS_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64
-I/builddir/build/BUILD/FreeCAD-0.17/build -I/usr/include/smesh -isystem
/usr/include/QtOpenGL -isystem /usr/include/QtSvg -isystem
/usr/include/QtUiTools -isystem /usr/include/QtWebKit -isystem
/usr/include/QtGui -isystem /usr/include/QtXml -isystem
/usr/include/QtNetwork -isystem /usr/include/QtCore
-I/builddir/build/BUILD/FreeCAD-0.17/build/src
-I/builddir/build/BUILD/FreeCAD-0.17/src
-I/builddir/build/BUILD/FreeCAD-0.17/build/src/Base
-I/builddir/build/BUILD/FreeCAD-0.17/src/Base -I/usr/include/python2.7
-Wall -Wextra -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection
-DPYCXX_6_2_COMPATIBILITY -std=c++11 -D_OCC64 -fPIC -o
CMakeFiles/FreeCADBase.dir/Sequencer.cpp.o -c
/builddir/build/BUILD/FreeCAD-0.17/src/Base/Sequencer.cpp
BUILDSTDERR: /builddir/build/BUILD/FreeCAD-0.17/src/Base/Sequencer.cpp: In
member function 'Py::Object Base::ProgressIndicatorPy::next(const
Py::Tuple&)':
BUILDSTDERR:
/builddir/build/BUILD/FreeCAD-0.17/src/Base/Sequencer.cpp:370:59: error: no
matching function for call to 'Py::Exception::Exception(const char [25])'
BUILDSTDERR: throw Py::Exception("abort progress indicator");
BUILDSTDERR: ^
And you can see the define added for PYCXX_6_2_COMPATIBILITY...
Thanks,
Richard
|