[fpc-pascal] Re: Runs correctly when debugging.
Guillermo Martínez Jiménez
gmartinez at burdjia.com
Mon May 7 13:35:28 CEST 2012
> Can you give any more information about how it fails?
It's a "SIGSEGV". The library is the Allegro library version 5.0.6.
The error is inside an internal procedure that uploads a texture to
OpenGL context, and it is used by other Allegro functions (i.e.
loading pictures from file, building text fonts, etc.).
Initially I suspected that I didn't use the right data types, but
after revisiting and fixing some of them it I'm pretty sure I'm using
the right ones.
I don't know what can I say. :-/
> You may have to set the fpu exception mask if you're talking to c code,
> as a quick guess (search the archives for how). Don't know why this
> works with debugging enabled, though.
I've revise the command-line options list and the only one I've find is that:
-Cf<x> Select fpu instruction set to use, see fpc -i for possible values
I don't know how can it help. :-?
More information about the fpc-pascal