Thanks, Henry, > 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. :-? Regards, Guillermo Martínez _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal