gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC 4.1 problem?


From: Fred Kiefer
Subject: GCC 4.1 problem?
Date: Sun, 28 May 2006 16:14:25 +0200
User-agent: Thunderbird 1.5 (X11/20060317)

While trying to reproduce a problem with the xlib backend on my newly
installed SuSE 10.1 system, I found that menus get only partially
displayed, also the knob in horizontal sliders was missing. With this
few hints I set off to drag down the bug behind it. It took my quite
some time, but now I think I found it. The affine transform used to
compute the state transformation suddenly had a NaN component as TY. How
could this ever happen? I put in a few NSLog statements into
[NSAffineTransform scaleXBy:YBy:] and the problem was gone.

For me this proves that there is a gcc problem (gcc (GCC) 4.1.0 (SUSE
Linux)), but how to deal with it? The simplest thing is surely to switch
off some optimisation for this file. As far as I remember, there is even
a switch for this in GNUmake. The danger is that the same problem may
show up in other places as well. How could we prepare for that?

What I don't understand is why this problem doesn't show up for other
backend and why I am the first one affected? Many of you should already
use gcc 4.1, what is so special about the SuSE version? Perhaps nobody
ever uses the xlib backend any more? Could those using gcc 4.1 on a 32
bit Intel machine try at least once?

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]