Re: [dev] [st] Division by zero

2016-07-18 Thread Christoph Lohmann
Greetings. On Mon, 18 Jul 2016 18:33:06 +0200 Paul Menzel wrote: > Dear FRIGN, > > > On 07/18/16 14:49, FRIGN wrote: > > On Mon, 18 Jul 2016 14:45:44 +0200 Paul Menzel wrote: > > >> If I am not mistaken, this is really a corner case. The user has to > >> set `actionfps` to zero in `config.def.

Re: [dev] [st] Division by zero

2016-07-18 Thread Paul Menzel
Dear Markus, On 07/18/16 15:22, Markus Teich wrote: Paul Menzel wrote: If I am not mistaken, this is really a corner case. The user has to set `actionfps` to zero in `config.def.h`. ``` config.def.h:static unsigned int actionfps = 30; ``` […] maybe you can make your compiler happy by maki

Re: [dev] [st] Division by zero

2016-07-18 Thread Markus Teich
Paul Menzel wrote: > If I am not mistaken, this is really a corner case. The user has to set > `actionfps` to zero in `config.def.h`. > > ``` > config.def.h:static unsigned int actionfps = 30; > ``` Heyho Paul, maybe you can make your compiler happy by making the variable const? It should then

Re: [dev] [st] Division by zero

2016-07-18 Thread Paul Menzel
Dear FRIGN, On 07/18/16 14:49, FRIGN wrote: On Mon, 18 Jul 2016 14:45:44 +0200 Paul Menzel wrote: If I am not mistaken, this is really a corner case. The user has to set `actionfps` to zero in `config.def.h`. ``` config.def.h:static unsigned int actionfps = 30; ``` Even setting it to zero

Re: [dev] [st] Division by zero

2016-07-18 Thread FRIGN
On Mon, 18 Jul 2016 14:45:44 +0200 Paul Menzel wrote: Hey Paul, > If I am not mistaken, this is really a corner case. The user has to > set `actionfps` to zero in `config.def.h`. > > ``` > config.def.h:static unsigned int actionfps = 30; > ``` > > Even setting it to zero and rebuilding the pac