openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Openexr-devel] compilation issue with intel compiler on xp


From: Ron Carmel
Subject: RE: [Openexr-devel] compilation issue with intel compiler on xp
Date: Mon, 7 Apr 2003 14:45:31 -0700 (PDT)

i guess my question is more directed at drew... why do i get
this compilation error?  is it a configuration issue on my end
or is it something that should be fixed?

--- Nick Porcino <address@hidden> wrote:
> 
> one could provide an implementation -
> 
> #if !defined(PLATFORM_OSF1)
>    float hypotf(float x, float y) { return ::sqrtf(x*x + y*y);
> }
>    static float       hypot (float x, float y) 
>             {return ::hypotf (x, y);}
> #endif
> 
> if hypotf is need anywhere else, or simply move the
> ::sqrtf(x*x + y*y); into the hypot function itself
> 
> -----Original Message-----
> From: Ron Carmel [mailto:address@hidden
> Sent: Monday, April 07, 2003 12:01 PM
> To: openexr
> Subject: [Openexr-devel] compilation issue with intel compiler
> on xp
> 
> 
> hi all, this my first posting to this list.
> 
> i'm compiling/linking against the windows 1.0.5 binaries and
> i'm
> getting the following error:
> 
> [snip]OpenEXR-1.0.5/include/Imath/ImathMath.h(192): error: the
> global scope has no "hypotf"
>      static float     hypot (float x, float y)        {return ::hypotf
> (x,
> y);}
>                                                                 ^
>           detected during instantiation of class
> "Imath::Math<float>" at line 194
> 
> my current workaround is to change ::hypotf(x,y) to
> ::hypot(x,y)
> and then things work fine.  any idea why this is happening or
> what the proper resolution is?
> 
> i'm on XP and using an evaulation version of the intel
> compiler
> (version 7.0 build 20021018Z)
> 
> the code around the problematic line looks like this:
> 
> #if !defined(PLATFORM_OSF1)
>    static float       hypot (float x, float y) 
>             {return ::hypotf (x, y);}
> #endif
> 
> thanks in advance,
> 
> ron.
> 
> =====
> "God grant me the serenity to accept the things I cannot
> change, courage to change the things I can, and wisdom always
> to know the difference." - Reinhold Niebuhr
> 
> 
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/openexr-devel


=====
"God grant me the serenity to accept the things I cannot change, courage to 
change the things I can, and wisdom always to know the difference." - Reinhold 
Niebuhr




reply via email to

[Prev in Thread] Current Thread [Next in Thread]