Problem after problem.  Now I am getting:

Entering /opt/aoo-4.0.0/main/configmgr/source

Compiling: configmgr/source/partial.cxx
"/usr/local/include/boost/unordered/detail/emplace_args.hpp", line 199: Error: 
Could not find a match for boost::tuples::get<boost::tuples::N, 
boost::tuples::HT, boost::tuples::TT>(const 
boost::tuples::tuple<boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type>) needed in 
boost::unordered::detail::construct_from_tuple<configmgr::Partial::Node, 
boost::tuples::null_type>(configmgr::Partial::Node*, const 
boost::tuples::tuple<boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type>&).
"/usr/local/include/boost/unordered/detail/emplace_args.hpp", line 350:     
Where: While instantiating 
"boost::unordered::detail::construct_from_tuple<configmgr::Partial::Node, 
boost::tuples::null_type>(configmgr::Partial::Node*, const 
boost::tuples::tuple<boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type>&)".
"/usr/local/include/boost/unordered/detail/emplace_args.hpp", line 350:     
Where: Instantiated from boost::unordered::unordered_map<rtl::OUString, 
configmgr::Partial::Node, boost::hash<rtl::OUString>, 
_STL::equal_to<rtl::OUString>, _STL::allocator<_STL::pair<const rtl::OUString, 
configmgr::Partial::Node>>>::operator[](const rtl::OUString&).
"/opt/aoo-4.0.0/main/configmgr/source/partial.cxx", line 82:     Where: 
Instantiated from non-template code.
1 Error(s) detected.
dmake:  Error code 2, while making '../unxsoli4.pro/slo/partial.obj'

1 module(s):
        configmgr
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /opt/aoo-4.0.0/main/configmgr/source

When you have fixed the errors in that module you can resume the build by 
running:

        build --all:configmgr



I thought I paste it here to see if you could help.  Thanks!

-----Original Message-----
From: Steele, Raymond 
Sent: Friday, September 06, 2013 3:17 PM
To: 'Herbert Duerr'; dev@openoffice.apache.org
Subject: RE: EXTERNAL: Re: Building comphelper

Herbert, 

To address the isfinite() issue I added the following to rtl/math.hxx:

#ifdef SOLARIS
#undef SAL_MATH_FINITE
#define SAL_MATH_FINITE(d) finite(d)
#endf

Your links were very helpful. Thanks so much. 

Now onto:

integer_fwd.cpp contains the following on line 136 and 137:

136: template < > 137: struct low_bits_mask_t< ::std::numeric_limits<unsigned
char>::digits>;



-----Original Message-----
From: Herbert Duerr [mailto:h...@apache.org] 
Sent: Thursday, September 05, 2013 12:34 AM
To: dev@openoffice.apache.org
Cc: Steele, Raymond
Subject: Re: EXTERNAL: Re: Building comphelper

Hy Raymond,

On 04.09.2013 18:33, Steele, Raymond wrote:
> You are right, I completely missed your post. I am updating my compiler 
> (SolarisStudio 12.3) now.  As far as I can see now, I do not have isfinite is 
> not a member of std on my system. Although, Netbeans allows me to choose C++ 
> Standard C++11. What do you mean by " experiment with the different 
> SAL_MATH_FINITE definitions"?

mathconf.h is a C header file, so we need the C definition of isfinite.

According to [1] the "C" isfinite() should be defined in <math.h>. Maybe on 
your platform there is a bug similar to [2] that undefines it later. 
But we can assume that isfinite() is available in one form or the other on your 
system. Maybe it is called finite(), _finite(), or __builtin_isfinite()? 
Assuming [3] applies here then finite() may be the pre-standard equivalent to 
the isfinite() function that we are looking for.

[1] http://pubs.opengroup.org/onlinepubs/009695399/functions/isfinite.html
[2] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608
[3] https://www.varnish-cache.org/trac/ticket/464

What I meant with "experiment with the different SAL_MATH_FINITE definitions" 
is to check whether one of the above pre-standard
isfinite() alternatives work. If you found one then add a define for SOLARIS 
only that doesn't break the other platforms.

By the way std::isfinite() should be provided via <cmath> for C++11. But as the 
mathconf.h header is a "C" header this C++11 header is not available in this 
context.

Herbert


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to