On Sat, Jan 14, 2023 at 8:25 PM Pedro Giffuni <p...@freebsd.org> wrote:
> Helo guys; > I don't currently have all the time I'd wish for AOO development so I > thought I'd suggest this task for some volunteer. > The Apache OpenOffice FreeBSD port has been broken for awhile and getting > boost updated would be of great help. Boost would also be useful to add > some functionality like support for more complex trigonometric functions. > I looked at the different verions and 1.79 seems to hit the right spot by > adding the right level of new functionality without causing trouble on old > compilers. So I just went ahead and uploaded boost_1_79_0.tar.bz2 to the > OOO extras repo on sourceforge. > > The process should be the regular update tarball, cleanup the patch, and > test on Windows/linux, however that is done with gbuild nowadays. > No, external dependencies still only build with dmake. > Of course in the case of boost it is easier said than done so .. good > luck! :-P > Pedro. Recent boost versions, 1.79.0 for example, require variadic templates and use a new and incompatible syntax for templates, which don't go with our "-std=gnu++98", eg: inc/boost/math/tools/mp.hpp:291:53: error: a space is required between consecutive right angle brackets (use '> >') struct mp_append_impl<L1<T1...>, L2<T2...>, L3<T3...>> We get far fewer errors when "-std=gnu++98" is removed, but since C++ 2011 is stricter, then there are other issues in our code to fix. I hate C++ and I hate boost. It would be best to reduce our use of both, develop new components in Rust or something. Regards Damjan