[BUG] statistics.c broken with 32bit mingw-gcc-3.4.5

Dirk Hohndel dirk at hohndel.org
Wed Feb 20 20:23:52 PST 2013


Linus Torvalds <torvalds at linux-foundation.org> writes:

> On Wed, Feb 20, 2013 at 6:57 PM, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
>>
>>     feenableexcept(FE_DIVBYZERO | FE_OVERFLOW | FE_INVALID);
>
> This finds another divide-by-zero in osm_gps_map_init() ;(
>
> Which we sadly cannot do anything about. Clearly osmgpsmaps has never
> been tested on anything but x86, and never with FP errors enabled.

I am certain there is a ton of code out there that will crash and burn
if you enable FP errors.

/D


More information about the subsurface mailing list