[Python-Dev] Warning about use of long double - what's the correct approach?

Guido van Rossum guido@python.org
Tue, 08 Oct 2002 13:27:35 -0400


>     Michael> I thought that's what configure already did:
> 
>     Michael>     case $ac_sys_system in
>     Michael>     Darwin*)
>     Michael>         OPT="$OPT -Wno-long-double -no-cpp-precomp";;
>     Michael>     esac
> 
>     Michael> If I've guessed wrong and you're not on OS X, give us some help :)
> 
> You guessed right.  In my situation, I generally configure with OPT=-O3 or
> OPT=-g, both of which prevent execution of this bit of code.  Perhaps we
> should modify it so this is executed unconditionally.

That's a longstanding nit: $OPT is used to specify some standard
things as well as giving you a hook to override.  I think we should
introduce a separate variable.

--Guido van Rossum (home page: http://www.python.org/~guido/)