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

Martin v. Loewis martin@v.loewis.de
08 Oct 2002 08:53:14 +0200


Skip Montanaro <skip@pobox.com> writes:

> When building from CVS head, I get this warning for each file compiled:
> 
>     gcc -c -DNDEBUG -g -I. -I../Include  -DPy_BUILD_CORE -o Objects/rangeobject.o ../Objects/rangeobject.c
[...]
> I don't know what the best way to fix this is.  Should I look at making
> configure add -Wno-long-double in the proper situations or should that
> alignment field be something else in situations where the use of long double
> would generate a warning?

As a starting point, explain the problem :-) What architecture, what
compiler, and why is sizeof long double going to change?

Regards,
Martin