From: Barry <ba...@ba...> - 2018-04-17 20:31:43
|
> On 17 Apr 2018, at 21:19, Richard Shaw <hob...@gm...> wrote: > > On Tue, Apr 17, 2018 at 2:44 PM, Barry Scott <ba...@ba...> wrote: >>> On 17 Apr 2018, at 14:07, Richard Shaw <hob...@gm...> wrote: >>> >>> BUILDSTDERR: throw Py::Exception(Base::BaseExceptionFreeCADError,str.str()); >> >> You have two ways to proceed. >> >> 1) define PYCXX_6_2_COMPATIBILITY and use the old API This is the way to get the rpmbuild working until upstram catch up. Barry >> 2) port to the V7 API - have a look at CXX/Python2/Exception.hxx >> and the PYCXX_USER_EXCEPTION_xxx macros. >> >> Oh and you might find the brief notes in the readme informative. >> >> http://cxx.sourceforge.net/README.html > > I'll take a look, but I'm not a C/C++ programmer, I just package FreeCAD for Fedora Linux. I'll pass this along to upstream and see how they would like to proceed. > > Thanks, > Richard > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > CXX-Users mailing list > CXX...@li... > https://lists.sourceforge.net/lists/listinfo/cxx-users |