openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Giffuni <...@apache.org>
Subject Re: Mac OS X WaE build and boost (Was: Re: Yes, the Windows build is broken due to boost)
Date Mon, 07 Jan 2013 17:51:01 GMT
Hi Pavel;

I think we are walking on a thin ice with this Boost integration.

Boost seems to push some C++ compilers to the limits (specially
the older ones). Boost does have it's share of bugs, but a share of
the problems when using boost is actually caused by STLport.

I think I will be partially reverting the sc changes in Boost and the
major integration that I was planning will not happen soon. I am
currently testing an alternative approach that still brings us the
main advantages of using Boost math functions.

In any case, for the time being consider those warning messages
as merely informational.

Pedro.


----- Messaggio originale -----
> Da: Pavel Janík 

> 
> Hi,
> 
> On Jan 4, 2013, at 6:42 AM, Pedro Giffuni wrote:
> 
>>  MSVC is picky/dumb and we have to specify the type, like in this case:
>> 
> http://stackoverflow.com/questions/708555/compile-error-c-could-not-deduce-template-argument-for-t
> 
> 
> I have another issue connected with boost update. Mac OS X, WaE build:
> 
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:90:

> warning: comparison between ‘enum mpl_::int_<64>::<anonymous>’ and 
> ‘enum mpl_::int_<113>::<anonymous>’
> 
> This warning break the build because of WaE tuerned on.
> 
> Complete build log message:
> 
> Entering /Users/pavel/BUILD/BuildDir/ooo_trunk_src/sc/source/core/tool
> 
> Compiling: sc/source/core/tool/interpr1.cxx
> cc1plus: warnings being treated as errors
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:

> In instantiation of ‘boost::mpl::less_equal_impl<mpl_::integral_c_tag, 
> mpl_::integral_c_tag>::apply<boost::math::policies::digits2<64>, 
> mpl_::int_<53> >’:
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:73: 

> instantiated from 
> ‘boost::mpl::less_equal<boost::math::policies::digits2<64>, 
> mpl_::int_<53> >’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/expm1.hpp:253: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::expm1(T, const Policy&) 
> [with T = long double, Policy = 
> boost::math::policies::policy<boost::math::policies::detail::forwarding_arg1, 
> boost::math::policies::detail::forwarding_arg2, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/sqrt1pm1.hpp:31: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::sqrt1pm1(const T&, const 
> Policy&) [with T = long double, Policy = 
> boost::math::policies::policy<boost::math::policies::detail::forwarding_arg1, 
> boost::math::policies::detail::forwarding_arg2, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/asinh.hpp:60: 

> instantiated from ‘T boost::math::detail::asinh_imp(T, const Policy&) [with 
> T = long double, Policy = 
> boost::math::policies::policy<boost::math::policies::detail::forwarding_arg1, 
> boost::math::policies::detail::forwarding_arg2, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/asinh.hpp:109: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::asinh(T, const Policy&) 
> [with T = double, Policy = 
> boost::math::policies::policy<boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/asinh.hpp:94: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::asinh(T) [with T = double]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/sc/source/core/tool/interpr1.cxx:1709:  
> instantiated from here
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:90:

> warning: comparison between ‘enum mpl_::int_<64>::<anonymous>’ and 
> ‘enum mpl_::int_<53>::<anonymous>’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:

> In instantiation of ‘boost::mpl::less_equal_impl<mpl_::integral_c_tag, 
> mpl_::integral_c_tag>::apply<boost::math::policies::digits2<64>, 
> mpl_::int_<113> >’:
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:73: 

> instantiated from 
> ‘boost::mpl::less_equal<boost::math::policies::digits2<64>, 
> mpl_::int_<113> >’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/expm1.hpp:253: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::expm1(T, const Policy&) 
> [with T = long double, Policy = 
> boost::math::policies::policy<boost::math::policies::detail::forwarding_arg1, 
> boost::math::policies::detail::forwarding_arg2, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/sqrt1pm1.hpp:31: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::sqrt1pm1(const T&, const 
> Policy&) [with T = long double, Policy = 
> boost::math::policies::policy<boost::math::policies::detail::forwarding_arg1, 
> boost::math::policies::detail::forwarding_arg2, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/asinh.hpp:60: 

> instantiated from ‘T boost::math::detail::asinh_imp(T, const Policy&) [with 
> T = long double, Policy = 
> boost::math::policies::policy<boost::math::policies::detail::forwarding_arg1, 
> boost::math::policies::detail::forwarding_arg2, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/asinh.hpp:109: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::asinh(T, const Policy&) 
> [with T = double, Policy = 
> boost::math::policies::policy<boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, boost::math::policies::default_policy, 
> boost::math::policies::default_policy, 
> boost::math::policies::default_policy>]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/math/special_functions/asinh.hpp:94: 

> instantiated from ‘typename boost::math::tools::promote_args<RT, float, 
> float, float, float, float>::type boost::math::asinh(T) [with T = double]’
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/sc/source/core/tool/interpr1.cxx:1709:  
> instantiated from here
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/350/unxmacxi.pro/inc/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp:90:

> warning: comparison between ‘enum mpl_::int_<64>::<anonymous>’ and 
> ‘enum mpl_::int_<113>::<anonymous>’
> dmake:  Error code 1, while making 
> '../../../unxmacxi.pro/slo/interpr1.obj'
> ERROR: error 65280 occurred while making 
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/sc/source/core/tool
> 
> 
> 
> -- 
> Pavel Janík
> 

Mime
View raw message