Mail Archives: djgpp/1996/02/14/11:37:50
In article <311F1F38 DOT 3540 AT aber DOT ac DOT uk>, NIGEL HUGHES <ngh94 AT aber DOT ac DOT uk> wrote:
[snip]
>Now, the problem only occurs currently when I set -m486 and -O3.
>However, it did do it on normal compilation and I had to cut out
>a function call to get it to work again. So what could be upsetting the
>compiler. I can think of two possibles,
>
> 1) It does not like large functions. Solution, I break it up,
> slowing down my main game loop, and still worrying about the
> thing falling over.
>
> 2) The switch statement is too large. Solution a break it up,
> making the code (bad because it is already large) look
> worse.
Nigel,
I had problems with v2b2 corrupting memory when large function
macros were part of my code. Might be the same for you ?
Chris
- Raw text -