Hi, On Wed, Aug 19, 2009 at 10:31:59AM +0200, Frank Schoenheit, Sun Microsystems Germany wrote: > Hi Rene, > > The code as-is now will fail to build/work with system-boost < 1.39, > > I assume? > > Most probably. Didn't explicitly try that, though.
OK, just tried, it fails e.g. in connectivity because of the headers... Why did you change the headers? My boost 1.39 perfectly has a spirit/core.hpp... #elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) # warning "This header is deprecated. Please use: boost/spirit/include/classic_core.hpp" ah, I see.... So we either need something like this (when did they change that?): --- configure.in (Revision 275137) +++ configure.in (Arbeitskopie) @@ -3936,6 +3936,17 @@ [AC_MSG_ERROR(boost/shared_ptr.hpp not found. install boost)], []) AC_CHECK_HEADER(boost/spirit/core.hpp, [], [AC_MSG_ERROR(boost/spirit/core.hpp not found. install boost)], []) + AC_MSG_CHECKING([boost version]) + AC_TRY_RUN([ +#include <boost/version.hpp> + +int main(int argc, char **argv) { + if(BOOST_VERSION < 103800) + return 1; + else + return 0; +} + ], [AC_MSG_RESULT(OK)], [AC_MSG_ERROR([not suitable, we need boost >= 1.38])]) AC_LANG_POP([C++]) else AC_MSG_RESULT([internal]) or check for the headers in configure and use #ifdefs. (either -DNEW_HEADERS or whatever or just #if BOOST_VERSION >= 103800). Or we revert that change until they finally remove the old header :-) Grüße/Regards, Rene --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org