I am targeting x86. We really need to get this build because of a Java 7 
requirement. I've build some add-ons to AOO version 3.3 that use Java 6, but 
our customer is requiring us to move to Java 7. My  add-ons will not work 
because AOO 3.3 does not recognize the Java 7 JRE.  I reverted back to using 
Solaris 12.3 compilers. Hopefully that reduces your worry about the bridges.  I 
really do appreciate you assistance and hope to overcome this very shortly. 

-----Original Message-----
From: Steele, Raymond 
Sent: Thursday, September 05, 2013 9:37 AM
To: 'Herbert Duerr'; dev@openoffice.apache.org
Subject: RE: EXTERNAL: Re: Building comphelper

Thanks for the information.  I will give this a try if my current strategy does 
not work. Apparently, SolarisStudios 12.3 compiler is not compatible with 
c++11. I  just finished building GCC 4.8.1 so that  I can attempt to build with 
that.    Now, I am  having the issue described here: 
http://wiki.openoffice.org/wiki/OpenSolaris_Build_Instructions/Configure_Errors#Error:_GCC_Linker
 because I have CC and CXX pointing to my new gcc and g++.  How can I  point 
these variables to SolarisStudio compilers for linking, but use gcc for 
compiling?

Raymond

-----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