On Mon, Dec 9, 2013 at 10:29 AM, Kay Schenk <kay.sch...@gmail.com> wrote:
> > On Mon, Dec 9, 2013 at 5:29 AM, Herbert Duerr <h...@apache.org> wrote: > >> On 08.12.2013 19:26, Kay Schenk wrote: >> >>> [...] >>> >>> short story -- I couldn't get things to work with 1.49, so I decided to >>> try >>> 1.54. Errors, but different. At first I WAS using 1.49. >>> >> >> Ok. That 1.49 didn't work is an interesting data point. >> >> >> Is it OK to use this newer version because I'm getting errors [...] >>>>> >>>> >> There should be no general problem, but boost 1.49 wasn't regularly used >> for building AOO, so the AOO may need some adaptions to work with boost >> 1.49. >> >> >> The 1.54 boost version you are using is much newer than the AOO internal >>>> version, which is version still at 1.48. We should upgrade our codebase >>>> to work with the newer version and update the internal boost then. This >>>> could solve many compile warnings that are spewed out for 1.48 and fix >>>> some hard problems like the one with the Solaris compilers. >>>> >>>> But as you saw such support for newer boost versions is more than just a >>>> recompile. Making AOO build with newer boost versions may be an >>>> interesting topic for a volunteer. One could leverage the experience of >>>> the very popular boost library to dive into many corners of the AOO >>>> codebase. >>>> >>> >>> >>> I'm not sure what some of this statement really means... but definitely a >>> worthwhile project for a volunteer! >>> >> >> By the way I created an enhancement issue [1] for upgrading to the latest >> boost version. I also developed a patch that already works with my systems >> and attached it to that issue. >> >> [1] https://issues.apache.org/ooo/show_bug.cgi?id=123817 >> >> It would be interesting to know if that experimental patch to support the >> new boost version works better for e.g. our Solaris ports? Please test. >> Maybe upgrading to boost 1.55 is a good idea for the AOO 4.1 release. >> >> >> Herbert >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: dev-h...@openoffice.apache.org >> >> > OK, good...I'll have a look soonish. > Well I applied this patch but decided to just continue with 1.54 (my local) instead of downloading 1.55, or using supplied supplied boost with the patch (I may try that next). My traceback... two items -- * In file included from ../../inc/osl/diagnose.hxx:41:0, from /home/kschenk/AOO_source/main/sal/osl/all/debugbase.cxx:31: /home/kschenk/AOO_source/main/solver/410/unxlngi6.pro/inc/stl/hash_set:42:26: error: 'hash' is already declared in this scope and longer * In file included from /usr/include/boost/functional/hash/hash.hpp:529:0, from /usr/include/boost/functional/hash.hpp:6, from /home/kschenk/AOO_source/main/solver/410/ unxlngi6.pro/inc/stl/functional:37, from /usr/include/c++/4.7/memory:81, from /usr/include/boost/unordered/unordered_set_fwd.hpp:14, from /usr/include/boost/unordered/unordered_set.hpp:16, from /usr/include/boost/unordered_set.hpp:16, from /usr/include/boost/tr1/unordered_set.hpp:21, from /usr/include/boost/tr1/tr1/unordered_set:28, from /home/kschenk/AOO_source/main/solver/410/ unxlngi6.pro/inc/stl/hash_set:32, from ../../inc/osl/diagnose.hxx:41, from /home/kschenk/AOO_source/main/sal/osl/all/debugbase.cxx:31: The second one seems to center around the following from boost itself in -- In file included from /usr/include/boost/functional/hash/hash.hpp #if !defined(BOOST_HASH_NO_EXTENSIONS) \ && !defined(BOOST_FUNCTIONAL_HASH_EXTENSIONS_HPP) #include <boost/functional/hash/extensions.hpp> #endif so I don't know if we need to do something about BOOST_HASH_NO_EXTENSIONS so...no joy yet > > -- > > ------------------------------------------------------------------------------------------------- > MzK > > "Cats do not have to be shown how to have a good time, > for they are unfailing ingenious in that respect." > -- James Mason > -- ------------------------------------------------------------------------------------------------- MzK "Cats do not have to be shown how to have a good time, for they are unfailing ingenious in that respect." -- James Mason